Fix for call to umount() in remount()

This commit is contained in:
Toshio Kuratomi 2016-11-18 13:08:52 -08:00 committed by Matt Clay
parent 1d8be78963
commit ef3699e277

View file

@ -373,7 +373,7 @@ def remount(module, mount_bin, args):
if rc != 0: if rc != 0:
msg = out+err msg = out+err
if ismount(args['name']): if ismount(args['name']):
rc,msg = umount(module, args) rc, msg = umount(module, args['name'])
if rc == 0: if rc == 0:
rc,msg = mount(module, args) rc,msg = mount(module, args)
return rc, msg return rc, msg