Displaying 1 result from an estimated 1 matches for "91125cd".
Did you mean:
91125
2012 Jan 27
1
Bug#657641: /usr/sbin/logcheck: line 100: kill: (31667) - No such process
...661acccafa519fcb48a6a756e5c35d96e7511d
Author: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn at axis.com>
Date: Fri Jan 27 16:08:33 2012 +0100
Workaround for error:
/usr/sbin/logcheck: line 100: kill: (31667) - No such process
diff --git a/logcheck b/logcheck
index 5878795..91125cd 100755
--- a/logcheck
+++ b/logcheck
@@ -97,7 +97,7 @@ cleanup() {
if [ -n "$LOCK" ]; then
debug "cleanup: Killing lockfile-touch - $LOCK"
- kill "$LOCK" && unset LOCK
+ kill -0 $LOCK && kill "$LOCK" && unset LOCK
f...