0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-26 00:32:35 +01:00

ircd::fs: Automatic -p behavior for mkdir().

This commit is contained in:
Jason Volk 2018-08-12 16:38:50 -07:00
parent ccefb9d354
commit 9ae4e225d3

View file

@ -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)
{