mirror of
https://github.com/matrix-construct/construct
synced 2024-11-17 07:20:55 +01:00
ircd::fs: Automatic -p behavior for mkdir().
This commit is contained in:
parent
ccefb9d354
commit
9ae4e225d3
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue