Fix log folder creation on MacOS

This commit is contained in:
Adam Honse 2021-03-29 15:49:12 -05:00
parent 212c3e6297
commit a5a9482206

View file

@ -80,8 +80,7 @@ void LogManager::configure(json config, const std::string &defaultDir)
fs::path p = logname;
if(p.is_relative())
{
p = defaultDir;
p.append("/logs/");
p = defaultDir + "logs/";
p.append(logname);
}
fs::create_directories(p.parent_path());