Fix log folder creation on MacOS
This commit is contained in:
parent
212c3e6297
commit
a5a9482206
1 changed files with 1 additions and 2 deletions
|
|
@ -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());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue