diff --git a/lib/cli/nodeutility.cpp b/lib/cli/nodeutility.cpp index 4d9fc2378..d7ea8bce3 100644 --- a/lib/cli/nodeutility.cpp +++ b/lib/cli/nodeutility.cpp @@ -269,7 +269,7 @@ void NodeUtility::SerializeObject(std::ostream& fp, const Dictionary::Ptr& objec * Returns true if the include is found, otherwise false */ bool NodeUtility::GetConfigurationIncludeState(const String& value, bool recursive) { - String configurationFile = Application::GetConst("ConfigDir") + "/icinga2.conf"; + String configurationFile = Configuration::ConfigDir + "/icinga2.conf"; Log(LogInformation, "cli") << "Reading '" << configurationFile << "'.";