[Pkg-nagios-changes] [SCM] Debian packaging for Nagios3 branch, master, updated. 3.2.0-5-25-g9fc2ce6
Alexander Wirt
formorer at debian.org
Mon Apr 12 20:02:55 UTC 2010
The following commit has been merged in the master branch:
commit 9fc2ce64566ab4618bccc98415464cd7e49f52c2
Author: Alexander Wirt <formorer at debian.org>
Date: Mon Apr 12 21:57:48 2010 +0200
Ignore errors from kill test in init
diff --git a/debian/nagios3-common.nagios3.init b/debian/nagios3-common.nagios3.init
index d2312d4..37d076b 100644
--- a/debian/nagios3-common.nagios3.init
+++ b/debian/nagios3-common.nagios3.init
@@ -65,7 +65,7 @@ check_started () {
if [ -f "$THEPIDFILE" ]; then
pid="$(cat $THEPIDFILE)"
- if [ "$pid" ] && kill -0 $pid >/dev/null; then
+ if [ "$pid" ] && kill -0 $pid >/dev/null 2>/dev/null; then
return 0 # Is started
fi
fi
--
Debian packaging for Nagios3
More information about the Pkg-nagios-changes
mailing list