From: Gunnar Beutner Date: Tue, 5 Feb 2013 14:39:20 +0000 (+0100) Subject: Fixed default path for the icinga2.state file. X-Git-Tag: v0.0.2~551 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=79efdd89d69dd2cd8e7b063134839d693d8e53e6;p=icinga2 Fixed default path for the icinga2.state file. --- diff --git a/lib/icinga/icingaapplication.cpp b/lib/icinga/icingaapplication.cpp index fea04901a..b3614ddde 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; }