auto-save 2026-05-15 11:51 (~3)

This commit is contained in:
2026-05-15 11:51:33 +08:00
parent 23b1def0a8
commit de3cef4b72
3 changed files with 10 additions and 9 deletions

View File

@@ -7,7 +7,7 @@ LAUNCHD_DOMAIN="gui/$(id -u)"
stop_launchd_label() {
local label="$1"
if launchctl bootout "$LAUNCHD_DOMAIN" "$label" >/dev/null 2>&1; then
if launchctl bootout "$LAUNCHD_DOMAIN/$label" >/dev/null 2>&1; then
echo "$label stopped"
else
echo "$label not loaded"