mirror of
https://github.com/apple/container.git
synced 2026-07-12 04:27:05 +00:00
fd2de35440
- Fixes #1281. Supersedes #1306. - When `-a` runs as a regular user (such as via `brew install container`), two launchctl failures bubble up as a non-zero exit and break Homebrew's post-install: - `bootout` against `system` requires root. - `launchctl print` lists Mach endpoint names that aren't loaded jobs, so `bootout` returns `No such process` on them. - Skip `system` when not root, and treat individual `bootout` failures as non-fatal. Same fix applied to the non-`-a` `xargs` pipeline. Signed-off-by: Patrick Linnane <patrick@linnane.io>