summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mic/utils/fs_related.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/mic/utils/fs_related.py b/mic/utils/fs_related.py
index 2afa25c..dd50aee 100644
--- a/mic/utils/fs_related.py
+++ b/mic/utils/fs_related.py
@@ -129,10 +129,10 @@ class BindChrootMount:
return
if self.mount_option:
- cmdline = [self.mountcmd, "--bind", "-o", "%s" % \
+ cmdline = [self.mountcmd, "-o" ,"bind", "-o", "%s" % \
self.mount_option, self.src, self.dest]
else:
- cmdline = [self.mountcmd, "--bind", self.src, self.dest]
+ cmdline = [self.mountcmd, "-o" ,"bind", self.src, self.dest]
rc, errout = runner.runtool(cmdline, catch=2)
if rc != 0:
raise MountError("Bind-mounting '%s' to '%s' failed: %s" %