Fix for call to umount() in remount()
This commit is contained in:
parent
1d8be78963
commit
ef3699e277
1 changed files with 1 additions and 1 deletions
|
@ -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…
Reference in a new issue