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:43 -0800
commit2fc9c434a6b921cae969c6a0ac6c782fe31020a7 (patch)
tree297c47296e2409b8cb2870f601f2139c6d117992
parent5dd78d71be187ab87edc663e0ab4104ef77cc211 (diff)
downloadansible-modules-core-2fc9c434a6b921cae969c6a0ac6c782fe31020a7.tar.gz
Fix for call to umount() in remount()
(cherry picked from commit 5c986306be5fa357eb64036915ab5eb98ad17327)
-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