diff --git a/server_status/api.py b/server_status/api.py index 8ab69ca..04ef6fa 100644 --- a/server_status/api.py +++ b/server_status/api.py @@ -224,9 +224,9 @@ class Client: or ( platform.system() == "Darwin" - and (not part.mountpoint.startswith( + and ((not part.mountpoint.startswith( include_partition_prefix_mac - ) or part.mountpoint == "/") + )) or not part.mountpoint == "/") ) or usage.total == 0 ):