diff options
-rw-r--r-- | sos/archive.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sos/archive.py b/sos/archive.py index 263e3dd3..fdf6f9a8 100644 --- a/sos/archive.py +++ b/sos/archive.py @@ -204,10 +204,10 @@ class FileCacheArchive(Archive): def is_special(mode): return any([ - stat.ISBLK(mode), - stat.ISCHR(mode), - stat.ISFIFO(mode), - stat.ISSOCK(mode) + stat.S_ISBLK(mode), + stat.S_ISCHR(mode), + stat.S_ISFIFO(mode), + stat.S_ISSOCK(mode) ]) if force: |