diff --git a/hwmonDaemon.py b/hwmonDaemon.py index cb29167..24cf999 100644 --- a/hwmonDaemon.py +++ b/hwmonDaemon.py @@ -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):