[Pkg-nagios-changes] [pkg-nagios] r886 - nagios2/trunk/debian
Marc Haber
zugschlus at costa.debian.org
Sun Apr 30 16:45:27 UTC 2006
Author: zugschlus
Date: 2006-04-30 16:45:24 +0000 (Sun, 30 Apr 2006)
New Revision: 886
Modified:
nagios2/trunk/debian/changelog
nagios2/trunk/debian/nagios2-common.nagios2.init
Log:
* Fix nagios2 restart in init script.
Thanks to Jim Jensen. (mh) Closes: #360778
Modified: nagios2/trunk/debian/changelog
===================================================================
--- nagios2/trunk/debian/changelog 2006-04-21 11:22:12 UTC (rev 885)
+++ nagios2/trunk/debian/changelog 2006-04-30 16:45:24 UTC (rev 886)
@@ -1,8 +1,10 @@
nagios2 (2.2-1.0) UNRELEASED; urgency=low
* NOT RELEASED YET
+ * Fix nagios2 restart in init script.
+ Thanks to Jim Jensen. (mh) Closes: #360778
- -- Marc Haber <mh+debian-packages at zugschlus.de> Fri, 21 Apr 2006 11:22:00 +0000
+ -- Marc Haber <mh+debian-packages at zugschlus.de> Sun, 30 Apr 2006 18:44:37 +0200
nagios2 (2.2-1) unstable; urgency=low
Modified: nagios2/trunk/debian/nagios2-common.nagios2.init
===================================================================
--- nagios2/trunk/debian/nagios2-common.nagios2.init 2006-04-21 11:22:12 UTC (rev 885)
+++ nagios2/trunk/debian/nagios2-common.nagios2.init 2006-04-30 16:45:24 UTC (rev 886)
@@ -181,7 +181,7 @@
restart)
log_daemon_msg "Restarting $DESC" "$NAME"
stop
- if [ -z "$?" ]; then
+ if [ -z "$?" -o "$?" = "0" ]; then
start
fi
log_end_msg $?
More information about the Pkg-nagios-changes
mailing list