launchd: Restore errexit after setting up launchd agents

At the beginning of the setup script `errexit` is disabled, but never
properly enabled again at the end. This causes potential issues/errors
in activation scripts following `setupLaunchAgents` to go unnoticed,
since the build doesn't actually fail.
This commit is contained in:
Ivan Isakov
2025-12-30 12:22:48 -05:00
committed by Robert Helgesson
parent 12cc14271b
commit 8f7d6bacb6

View File

@@ -270,9 +270,7 @@ in
setupLaunchAgents
# Restore errexit
if [[ -o errexit ]]; then
set -e
fi
set -e
'';
})
];