From 11ba0222673ff86134f51b6766ecea5061054782 Mon Sep 17 00:00:00 2001 From: Kashiko Koibumi Date: Sun, 23 Jun 2024 00:47:51 +0900 Subject: [PATCH] fix bug in detecting file system type --- src/shared.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shared.py b/src/shared.py index f710d56d..80147801 100644 --- a/src/shared.py +++ b/src/shared.py @@ -196,7 +196,7 @@ def checkSensitiveFilePermissions(filename): ['/usr/bin/stat', '-f', '-c', '%T', filename], stderr=subprocess.STDOUT ) # nosec B603 - if 'fuseblk' in fstype: + if b'fuseblk' in fstype: logger.info( 'Skipping file permissions check for %s.' ' Filesystem fuseblk detected.', filename)