Fix for call to umount() in remount()

pull/4420/head
Toshio Kuratomi 2016-11-18 13:08:52 -08:00 committed by Matt Clay
parent 1d8be78963
commit ef3699e277
1 changed files with 1 additions and 1 deletions

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