修复macOS挂载点检查逻辑,确保正确处理根挂载点
Some checks failed
Compile / build (x64, windows-latest) (push) Failing after 17s
Compile / build (x64, ubuntu-latest) (push) Failing after 2m47s

This commit is contained in:
远野千束(神羽) 2024-12-10 13:10:44 +08:00
parent 0559212d03
commit 90b4952ea9

View File

@ -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
):