[Pkg-nagios-changes] [SCM] debian packaging of icinga(-core) branch, master, updated. 1.0.1-3-2-ge18a495

Alexander Wirt formorer at debian.org
Mon Apr 12 19:58:36 UTC 2010


The following commit has been merged in the master branch:
commit e18a4958a9805a99fcfbdc1a72df30a0d588009f
Author: Alexander Wirt <formorer at debian.org>
Date:   Mon Apr 12 21:58:23 2010 +0200

    Ignore errors in kill test from initscript

diff --git a/debian/icinga-common.icinga.init b/debian/icinga-common.icinga.init
index bb3b2b4..e5e534d 100644
--- a/debian/icinga-common.icinga.init
+++ b/debian/icinga-common.icinga.init
@@ -62,7 +62,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 of icinga(-core)



More information about the Pkg-nagios-changes mailing list