summaryrefslogtreecommitdiff
path: root/vmdebootstrap/filesystem.py
diff options
context:
space:
mode:
Diffstat (limited to 'vmdebootstrap/filesystem.py')
-rw-r--r--vmdebootstrap/filesystem.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/vmdebootstrap/filesystem.py b/vmdebootstrap/filesystem.py
index a26145c..fc3c8ee 100644
--- a/vmdebootstrap/filesystem.py
+++ b/vmdebootstrap/filesystem.py
@@ -178,7 +178,7 @@ class Filesystem(Base):
logging.warning("Squash selected but mksquashfs not found!")
return
if not os.path.exists(self.settings['squash']):
- os.mkdir(self.settings['squash'])
+ os.makedirs(self.settings['squash'])
suffixed = os.path.join(self.settings['squash'], "filesystem.squashfs")
if os.path.exists(suffixed):
os.unlink(suffixed)