diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-21 22:00:03 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-06-21 22:00:03 -0500 |
commit | 02dd56f71b294fafab3c41b6960474bd4ebb0b5e (patch) | |
tree | c82a4cd1700413f498b2a9b0471175e783bf617a | |
parent | c5dd4a2e8de0ce0a3a1d63cbd5e650c8a1aeef11 (diff) | |
download | horizon-02dd56f71b294fafab3c41b6960474bd4ebb0b5e.tar.gz horizon-02dd56f71b294fafab3c41b6960474bd4ebb0b5e.tar.bz2 horizon-02dd56f71b294fafab3c41b6960474bd4ebb0b5e.tar.xz horizon-02dd56f71b294fafab3c41b6960474bd4ebb0b5e.zip |
hscript: Ensure mount directory exists
-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()); |