fix(install): silence best-effort launchctl stderr on macOS uninstall #140
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/VA-89-quiet-launchctl"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Small UX fix found during the on-Mac install verification of #138.
launchctl unloadprintsUnload failed: 5: Input/output errorto stderr when the job is not currently loaded - expected, but it looks like an error on a clean (no-op)vervain-agent uninstall. The installer already treats unload as best-effort and ignores the exit status, so this routes launchctl's stderr to/dev/nullwheneverallow_failureis set. Mandatory calls (theloadon install) are unaffected and still surface errors.Verified on a Mac:
uninstall --install-type useron a clean system now completes quietly. 5install_macostests + clippy/fmt clean.