From 69b41f9dfecce43400cdc49b989d375be2aaa73f 2018-01-22 14:09:33 From: Vitaly Takmazov Date: 2018-01-22 14:09:33 Subject: [PATCH] fix directory creation for pid file make extended_test is now passed under Stretch --- diff --git a/spectrum/src/main.cpp b/spectrum/src/main.cpp index 1685f5d6c934e1c49cdcc5697f94eaee69880d03..1bd53ff31b4e8cd3370d3e95c648d4103ec2700d 100644 --- a/spectrum/src/main.cpp +++ b/spectrum/src/main.cpp @@ -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() ); }