From c807a6309a7dbc50c625c69d3ad09bfca93676cb Mon Sep 17 00:00:00 2001 From: Jared Vititoe Date: Mon, 12 May 2025 16:00:24 -0400 Subject: [PATCH] Updated mountpoint catching --- hwmonDaemon.py | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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):