mirror of
https://github.com/Icinga/icinga2.git
synced 2025-04-08 17:05:25 +02:00
Merge pull request #6707 from Icinga/bugfix/compat-objects-path
Fix regression for wrong objects.cache path overwriting icinga2.debug file
This commit is contained in:
commit
aebe6da168
@ -559,7 +559,8 @@ void StatusDataWriter::UpdateObjectsCache()
|
||||
{
|
||||
CONTEXT("Writing objects.cache file");
|
||||
|
||||
String objectsPath = Configuration::ObjectsPath;
|
||||
/* Use the compat path here from the .ti generated class. */
|
||||
String objectsPath = GetObjectsPath();
|
||||
|
||||
std::fstream objectfp;
|
||||
String tempObjectsPath = Utility::CreateTempFile(objectsPath + ".XXXXXX", 0644, objectfp);
|
||||
|
Loading…
x
Reference in New Issue
Block a user