Fix: Default ACL parameters are not correctly handled

This commit is contained in:
quoing 2015-12-08 13:04:21 +01:00 committed by Brian Coca
parent db66144386
commit 877daf970d

View file

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