Fix: Default ACL parameters are not correctly handled

pull/18777/head
quoing 9 years ago committed by Matt Clay
parent f0a3914f7b
commit 3ad67d93ea

@ -183,9 +183,9 @@ def build_command(module, mode, path, follow, default, recursive, entry=''):
if default: if default:
if(mode == 'rm'): if(mode == 'rm'):
cmd.append('-k') cmd.insert(1, '-k')
else: # mode == 'set' or mode == 'get' else: # mode == 'set' or mode == 'get'
cmd.append('-d') cmd.insert(1, '-d')
cmd.append(path) cmd.append(path)
return cmd return cmd

Loading…
Cancel
Save