[icinga-checkins] icinga.org: icinga-core/mfriedrich/core: prevent icinga restart if config check failed in initscript

git at icinga.org git at icinga.org
Tue May 25 00:59:42 CEST 2010


Module: icinga-core
Branch: mfriedrich/core
Commit: ab9b74049decef82a17f40794dee6664322c7659
URL:    https://git.icinga.org/?p=icinga-core.git;a=commit;h=ab9b74049decef82a17f40794dee6664322c7659

Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date:   Mon May 24 22:52:43 2010 +0200

prevent icinga restart if config check failed in initscript

fixes #444

---

 daemon-init.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/daemon-init.in b/daemon-init.in
index 4cbaf91..4755a93 100644
--- a/daemon-init.in
+++ b/daemon-init.in
@@ -214,7 +214,7 @@ case "$1" in
 		;;
 
 	restart)
-		#chk_config " CONFIG ERROR!  Restart aborted.  See $IcingaChkFile for details."
+		chk_config " CONFIG ERROR!  Restart aborted.  See $IcingaChkFile for details."
 		$0 stop
 		$0 start
 		;;





More information about the icinga-checkins mailing list