mirror of
https://github.com/Icinga/icinga2.git
synced 2025-05-16 04:20:15 +02:00
Make sure we're always creating the conf.d and zones.d directories
fixes #9879
This commit is contained in:
parent
ec8cdcd554
commit
2e43c57d6b
@ -82,6 +82,8 @@ String ConfigModuleUtility::CreateStage(const String& moduleName, const Dictiona
|
|||||||
path += "/" + stageName;
|
path += "/" + stageName;
|
||||||
|
|
||||||
Utility::MkDirP(path, 0700);
|
Utility::MkDirP(path, 0700);
|
||||||
|
Utility::MkDirP(path + "/conf.d", 0700);
|
||||||
|
Utility::MkDirP(path + "/zones.d", 0700);
|
||||||
WriteStageConfig(moduleName, stageName);
|
WriteStageConfig(moduleName, stageName);
|
||||||
|
|
||||||
bool foundDotDot = false;
|
bool foundDotDot = false;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user