From 79efdd89d69dd2cd8e7b063134839d693d8e53e6 Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 5 Feb 2013 15:39:20 +0100 Subject: [PATCH] Fixed default path for the icinga2.state file. --- lib/icinga/icingaapplication.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.40.0