Fix wrong processing of lines returned by setfacl in test mode
This commit is contained in:
parent
50c6425673
commit
421d3f12cf
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 False
|
||||
|
||||
|
||||
def run_acl(module, cmd, check_rc=True):
|
||||
|
|
Loading…
Reference in a new issue