From 2e43c57d6b53605eb472b11a90bfd29d4b5ad81c Mon Sep 17 00:00:00 2001 From: Gunnar Beutner Date: Tue, 11 Aug 2015 12:59:26 +0200 Subject: [PATCH] Make sure we're always creating the conf.d and zones.d directories fixes #9879 --- lib/remote/configmoduleutility.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/remote/configmoduleutility.cpp b/lib/remote/configmoduleutility.cpp index 7e87507cc..2f0eb0e25 100644 --- a/lib/remote/configmoduleutility.cpp +++ b/lib/remote/configmoduleutility.cpp @@ -82,6 +82,8 @@ String ConfigModuleUtility::CreateStage(const String& moduleName, const Dictiona path += "/" + stageName; Utility::MkDirP(path, 0700); + Utility::MkDirP(path + "/conf.d", 0700); + Utility::MkDirP(path + "/zones.d", 0700); WriteStageConfig(moduleName, stageName); bool foundDotDot = false; -- 2.40.0