diff --git a/ircd/fs.cc b/ircd/fs.cc index 83e3e5196..23f4d2e6c 100644 --- a/ircd/fs.cc +++ b/ircd/fs.cc @@ -544,7 +544,7 @@ bool ircd::fs::mkdir(const string_view &path) try { - return filesystem::create_directory(fs::path(path)); + return filesystem::create_directories(fs::path(path)); } catch(const filesystem::filesystem_error &e) {