diff options
author | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-05 14:46:57 +0100 |
---|---|---|
committer | Egor Tensin <Egor.Tensin@gmail.com> | 2023-03-05 14:46:57 +0100 |
commit | 7289373d2e2e2230f4bf3e0098b37db0d7712390 (patch) | |
tree | f7d19d5c483b5305ccff0b44ee5379d89833cd67 | |
parent | add bad_attrs.py (diff) | |
download | audit-scripts-7289373d2e2e2230f4bf3e0098b37db0d7712390.tar.gz audit-scripts-7289373d2e2e2230f4bf3e0098b37db0d7712390.zip |
bad_attrs: add a comment
-rwxr-xr-x | bad_attrs.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/bad_attrs.py b/bad_attrs.py index fc1f4d8..4683540 100755 --- a/bad_attrs.py +++ b/bad_attrs.py @@ -98,6 +98,8 @@ def path_has_bad_flags(path): # Either one of: # Inappropriate ioctl for device # Permission denied + # It's relied upon that fcntl throws OSError instead of + # PermissionError. logging.warning('%s: %s', path, e) return False raise |