Fix for call to umount() in remount()

pull/18777/head
Toshio Kuratomi 8 years ago committed by Matt Clay
parent 1d8be78963
commit ef3699e277

@ -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

Loading…
Cancel
Save