File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -102,8 +102,8 @@ def isSupportedFilesystem():
102102 try :
103103 current_dir = os .getcwd ()
104104 # Try to get filesystem type from /proc/mounts
105- mount = find_mount_point (current_dir )
106- assert mount is not None
105+ curdir_mount = find_mount_point (current_dir )
106+ assert curdir_mount is not None
107107 with open ("/proc/mounts" ) as f :
108108 for line in f :
109109 parts = line .split ()
@@ -112,7 +112,7 @@ def isSupportedFilesystem():
112112 fs_type = parts [2 ]
113113
114114 # Check if current directory is under this mount point
115- if mount == mount_point :
115+ if curdir_mount == mount_point :
116116 fs_type_lower = fs_type .lower ()
117117 logging .info (f"Current filesystem type: { fs_type_lower } " )
118118 if fs_type_lower in ("ext4" , "xfs" ):
You can’t perform that action at this time.
0 commit comments