]> granicus.if.org Git - icinga2/commitdiff
Fixed default path for the icinga2.state file.
authorGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Feb 2013 14:39:20 +0000 (15:39 +0100)
committerGunnar Beutner <gunnar.beutner@netways.de>
Tue, 5 Feb 2013 14:39:20 +0000 (15:39 +0100)
lib/icinga/icingaapplication.cpp

index fea04901aefc13ffac34c915e644490874052128..b3614ddde14f7bc928482feb4728c3d535a426a7 100644 (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;
 }