Updated mountpoint catching
This commit is contained in:
@ -1442,7 +1442,11 @@ class SystemHealthMonitor:
|
|||||||
continue
|
continue
|
||||||
|
|
||||||
# Get the mountpoint (last column)
|
# 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
|
# Skip excluded mountpoints
|
||||||
if self._is_excluded_mount(mountpoint):
|
if self._is_excluded_mount(mountpoint):
|
||||||
|
|||||||
Reference in New Issue
Block a user