mirror of
https://github.com/ansible-collections/community.general.git
synced 2025-07-22 12:50:22 -07:00
Fix wrong processing of lines returned by setfacl in test mode
This commit is contained in:
parent
08e8f732c5
commit
6c298e20c0
1 changed files with 2 additions and 2 deletions
|
@ -199,8 +199,8 @@ def acl_changed(module, cmd):
|
|||
|
||||
for line in lines:
|
||||
if not line.endswith('*,*'):
|
||||
return False
|
||||
return True
|
||||
return True
|
||||
return False
|
||||
|
||||
|
||||
def run_acl(module, cmd, check_rc=True):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue