[icinga-checkins] icinga.org: icinga2/master: Fixed default path for the icinga2.state file.

git at icinga.org git at icinga.org
Tue Feb 5 15:39:23 CET 2013


Module: icinga2
Branch: master
Commit: 79efdd89d69dd2cd8e7b063134839d693d8e53e6
URL:    https://git.icinga.org/?p=icinga2.git;a=commit;h=79efdd89d69dd2cd8e7b063134839d693d8e53e6

Author: Gunnar Beutner <gunnar.beutner at netways.de>
Date:   Tue Feb  5 15:39:20 2013 +0100

Fixed default path for the icinga2.state file.

---

 lib/icinga/icingaapplication.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/icinga/icingaapplication.cpp b/lib/icinga/icingaapplication.cpp
index fea0490..b3614dd 100644
--- a/lib/icinga/icingaapplication.cpp
+++ b/lib/icinga/icingaapplication.cpp
@@ -133,7 +133,7 @@ String IcingaApplication::GetStatePath(void) const
 	Value statePath = Get("state_path");
 
 	if (statePath.IsEmpty())
-		statePath = Application::GetLocalStateDir() + "/lib/icinga2.state";
+		statePath = Application::GetLocalStateDir() + "/lib/icinga2/icinga2.state";
 
 	return statePath;
 }





More information about the icinga-checkins mailing list