mirror of
https://github.com/ansible-collections/community.general.git
synced 2024-09-14 20:13:21 +02:00
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