diff options
-rw-r--r-- | hscript/disk.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/hscript/disk.cc b/hscript/disk.cc index 07499b8..ae8c92c 100644 --- a/hscript/disk.cc +++ b/hscript/disk.cc @@ -788,7 +788,7 @@ bool Mount::execute() const { else { /* mount */ if(!fs::exists(actual_mount, ec)) { - fs::create_directory(actual_mount, ec); + fs::create_directories(actual_mount, ec); if(ec) { output_error(pos, "mount: failed to create target directory " "for " + this->mountpoint(), ec.message()); |