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:
parent
12cc14271b
commit
8f7d6bacb6
1 changed files with 1 additions and 3 deletions
|
|
@ -270,9 +270,7 @@ in
|
|||
setupLaunchAgents
|
||||
|
||||
# Restore errexit
|
||||
if [[ -o errexit ]]; then
|
||||
set -e
|
||||
fi
|
||||
set -e
|
||||
'';
|
||||
})
|
||||
];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue