Commit 69b41f9d authored by Vitaly Takmazov's avatar Vitaly Takmazov

fix directory creation for pid file

make extended_test is now passed under Stretch
parent fd7683b6
......@@ -449,7 +449,7 @@ int main(int argc, char **argv)
#ifndef WIN32
// create directories
try {
boost::filesystem::create_directories(
_createDirectories(&config,
boost::filesystem::path(CONFIG_STRING(&config, "service.pidfile")).parent_path().string()
);
}
......@@ -459,7 +459,7 @@ int main(int argc, char **argv)
}
// create directories
try {
boost::filesystem::create_directories(
_createDirectories(&config,
boost::filesystem::path(CONFIG_STRING(&config, "service.portfile")).parent_path().string()
);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment