Answer stability round 1: 1 🔴, 5 🟡 (0 misread); the 🔴, the rule text and the PATH half of the exemption were answered in the principles round 1 commit; exempt no docker under sudo or doas, test unknown memory and the shim without a share, keep helped beside unlimited, drop a dead fallback

This commit is contained in:
2026-10-24 11:37:08 +02:00
parent e551a2b5a9
commit c87e9f19d6
5 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -32,4 +32,4 @@ def main(argv: list[str], env: typing.Mapping[str, str]) -> int:
def without_path_entry(path: str) -> str:
"""path less PATH_ENTRY, so the real docker is the one found."""
return os.pathsep.join(entry for entry in path.split(os.pathsep) if pathlib.Path(entry or ".").resolve() != PATH_ENTRY)
return os.pathsep.join(entry for entry in path.split(os.pathsep) if pathlib.Path(entry).resolve() != PATH_ENTRY)