summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/mount.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/system/mount.py b/system/mount.py
index 0af2a5af..9e67e1f6 100644
--- a/system/mount.py
+++ b/system/mount.py
@@ -373,7 +373,7 @@ def remount(module, mount_bin, args):
if rc != 0:
msg = out+err
if ismount(args['name']):
- rc,msg = umount(module, args)
+ rc, msg = umount(module, args['name'])
if rc == 0:
rc,msg = mount(module, args)
return rc, msg