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…
Reference in a new issue