Commit e9e15d9e authored by joshn's avatar joshn

Fix exception when unable to read a Windows ACL to clear it.


git-svn-id: http://svn.savannah.nongnu.org/svn/rdiff-backup@1056 2b77aa54-bcbc-44c9-a7ec-4f6cf2b41109
parent 6dbfc4ed
......@@ -104,6 +104,7 @@ class ACL:
except (OSError, IOError, pywintypes.error), exc:
log.Log("Warning: unable to read ACL from %s for clearing: %s"
% (repr(rp.path), exc), 4)
return
acl = sd.GetSecurityDescriptorDacl()
if acl:
......
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