Fix wrong processing of lines returned by setfacl in test mode

This commit is contained in:
Jérémie Astori 2015-08-19 00:25:18 +00:00 committed by Matt Clay
parent 08e8f732c5
commit 6c298e20c0

View file

@ -199,8 +199,8 @@ def acl_changed(module, cmd):
for line in lines: for line in lines:
if not line.endswith('*,*'): if not line.endswith('*,*'):
return False
return True return True
return False
def run_acl(module, cmd, check_rc=True): def run_acl(module, cmd, check_rc=True):