修复macOS挂载点检查逻辑,确保正确处理根挂载点

This commit is contained in:
远野千束 2024-12-10 13:10:44 +08:00
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
):