Fixed default path for the icinga2.state file.

This commit is contained in:
Gunnar Beutner 2013-02-05 15:39:20 +01:00
parent 63db2bb89a
commit 79efdd89d6
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}