Merge pull request #2 from test-ansible/revert-1-test_pr_example

Revert "Update acl.py"
This commit is contained in:
test-ansible 2021-08-16 21:54:31 +05:30 committed by GitHub
commit 265ed63f8f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -190,7 +190,6 @@ def build_command(module, mode, path, follow, default, recursive, recalculate_ma
'''Builds and returns a getfacl/setfacl command.'''
if mode == 'set':
cmd = [module.get_bin_path('setfacl', True)]
cmd.extend(['-m', entry])
elif mode == 'rm':
cmd = [module.get_bin_path('setfacl', True)]
cmd.extend(['-x', entry])