mirror of
https://github.com/snowykami/server-status-client.git
synced 2025-01-31 23:11:26 +08:00
修复macOS挂载点检查逻辑,确保正确处理根挂载点
This commit is contained in:
parent
0559212d03
commit
90b4952ea9
@ -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
|
||||
):
|
||||
|
Loading…
x
Reference in New Issue
Block a user