[icinga-checkins] icinga.org: icinga-core/test/core: Revert " change position of the IcingaPid param declaration to make sure is populated before used ."
git at icinga.org
git at icinga.org
Wed Nov 9 16:38:58 CET 2011
Module: icinga-core
Branch: test/core
Commit: eacd0a95389eee34945d48feba3c5c3de5efe372
URL: https://git.icinga.org/?p=icinga-core.git;a=commit;h=eacd0a95389eee34945d48feba3c5c3de5efe372
Author: Michael Friedrich <michael.friedrich at univie.ac.at>
Date: Mon Nov 7 10:23:42 2011 +0100
Revert "change position of the IcingaPid param declaration to make sure is populated before used."
This reverts commit 4504357eae98d90396d9a62948cacc34b09b0538.
---
daemon-init.in | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/daemon-init.in b/daemon-init.in
index 06ed130..80bb78e 100644
--- a/daemon-init.in
+++ b/daemon-init.in
@@ -95,7 +95,6 @@ kill9proc_icinga()
pid_icinga ()
{
- IcingaPID=`head -n 1 $IcingaRunFile`
if test ! -f $IcingaRunFile; then
echo "Icinga not running. No lock file found in $IcingaRunFile"
@@ -110,7 +109,7 @@ pid_icinga ()
fi
exit 1
-
+ IcingaPID=`head -n 1 $IcingaRunFile`
}
More information about the icinga-checkins
mailing list