Commit 1cd543c9 by Michael DeHaan

Merge pull request #6501 from bcoca/acl_fix_change_detection

fixed bad detection of change on default and premature break
parents b3a1d528 b81a3bbb
...@@ -115,6 +115,9 @@ def split_entry(entry): ...@@ -115,6 +115,9 @@ def split_entry(entry):
print "wtf?? %s => %s" % (entry,a) print "wtf?? %s => %s" % (entry,a)
raise e raise e
if d:
d = True
if t.startswith("u"): if t.startswith("u"):
t = "user" t = "user"
elif t.startswith("g"): elif t.startswith("g"):
...@@ -248,7 +251,6 @@ def main(): ...@@ -248,7 +251,6 @@ def main():
if not old_permissions == permissions: if not old_permissions == permissions:
changed = True changed = True
break break
break
if not matched: if not matched:
changed=True changed=True
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment