Updated mountpoint catching

This commit is contained in:
2025-05-12 16:00:24 -04:00
parent 3d2fdac3f3
commit c807a6309a

View File

@ -1442,7 +1442,11 @@ class SystemHealthMonitor:
continue
# Get the mountpoint (last column)
mountpoint = parts[5] if len(parts) > 5 else "/"
if len(parts) > 5:
# The mountpoint is the last column
mountpoint = parts[-1]
else:
mountpoint = "/"
# Skip excluded mountpoints
if self._is_excluded_mount(mountpoint):