fix for mount w/o opts (bug introduced when fixing bind mounts)
This commit is contained in:
parent
53ef859ae4
commit
5df3058aab
1 changed files with 1 additions and 1 deletions
|
@ -320,7 +320,7 @@ def main():
|
|||
if os.path.ismount(name):
|
||||
if changed:
|
||||
res,msg = mount(module, **args)
|
||||
elif "bind" in args['opts']:
|
||||
elif 'bind' in args.get('opts', []):
|
||||
changed = True
|
||||
cmd = 'mount -l'
|
||||
rc, out, err = module.run_command(cmd)
|
||||
|
|
Loading…
Reference in a new issue