diff --git a/server_status/api.py b/server_status/api.py index fa64d00..6c44515 100644 --- a/server_status/api.py +++ b/server_status/api.py @@ -232,7 +232,7 @@ class Client: try: usage = psutil.disk_usage(part.mountpoint) - if part.mountpoint.startswith(excluded_partition_prefix): + if part.mountpoint.startswith(excluded_partition_prefix) or usage.total == 0: continue self.hardware.disks[part.device] = {