fix(macos-container): use correct system status probe in preflight
`container system info` is not a valid subcommand and always returned non-zero, causing a false-positive on the service check. Switch to `container system status` which is the correct command. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -40,7 +40,7 @@ def require_container() -> None:
|
|||||||
|
|
||||||
def _require_container_service() -> None:
|
def _require_container_service() -> None:
|
||||||
result = subprocess.run(
|
result = subprocess.run(
|
||||||
[_CONTAINER, "system", "info"],
|
[_CONTAINER, "system", "status"],
|
||||||
stdout=subprocess.DEVNULL,
|
stdout=subprocess.DEVNULL,
|
||||||
stderr=subprocess.DEVNULL,
|
stderr=subprocess.DEVNULL,
|
||||||
check=False,
|
check=False,
|
||||||
|
|||||||
Reference in New Issue
Block a user