diff options
| -rwxr-xr-x | bin/check_perms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/check_perms b/bin/check_perms index 97a4bf17e..60b7cdb94 100755 --- a/bin/check_perms +++ b/bin/check_perms @@ -157,7 +157,7 @@ def checkarchivedbs(): try: mode = statmode(dbdir) except OSError, e: - if e.errno <> errno.ENOENT: raise + if e.errno not in (errno.ENOENT, errno.ENOTDIR): raise continue if mode & S_IRWXO: STATE.ERRORS = STATE.ERRORS + 1 |
