Code

collectd.init.d: Let "status" exit with 1 if collectd is not running.
authorSebastian Harl <sh@tokkee.org>
Tue, 26 Aug 2008 07:19:41 +0000 (09:19 +0200)
committerSebastian Harl <sh@tokkee.org>
Tue, 26 Aug 2008 07:19:41 +0000 (09:19 +0200)
debian/collectd.init.d

index bb27de9cd89c3c29cdb47b09fc46c7e071a1170d..47b95aba8995d40f0499db22ff199cd32bd6659d 100755 (executable)
@@ -124,6 +124,7 @@ d_status() {
                        echo "collectd is stopped."
                fi
        fi
+       exit 1
 }
 
 case "$1" in