mirror of
https://github.com/Icinga/icinga2.git
synced 2025-07-31 01:24:19 +02:00
Fixed default path for the icinga2.state file.
This commit is contained in:
parent
63db2bb89a
commit
79efdd89d6
@ -133,7 +133,7 @@ String IcingaApplication::GetStatePath(void) const
|
|||||||
Value statePath = Get("state_path");
|
Value statePath = Get("state_path");
|
||||||
|
|
||||||
if (statePath.IsEmpty())
|
if (statePath.IsEmpty())
|
||||||
statePath = Application::GetLocalStateDir() + "/lib/icinga2.state";
|
statePath = Application::GetLocalStateDir() + "/lib/icinga2/icinga2.state";
|
||||||
|
|
||||||
return statePath;
|
return statePath;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user