From 229644cd1d3d71d17cdd4c63891cc47536a46d4a 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)