summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToshio Kuratomi <a.badger@gmail.com>2016-11-18 13:08:52 -0800
committerToshio Kuratomi <a.badger@gmail.com>2016-11-18 13:35:17 -0800
commit5c986306be5fa357eb64036915ab5eb98ad17327 (patch)
treeffdd62102207871ec63c019bfd84f58293ae11c3
parent9b09acc549c4422a8c4e93216136b8f5379ebe47 (diff)
downloadansible-modules-core-5c986306be5fa357eb64036915ab5eb98ad17327.tar.gz
Fix for call to umount() in remount()
-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