diff options
-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 |