Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
Merge pull request #9 from tomaskrizek/errtrace
Browse files Browse the repository at this point in the history
prepare.sh: use errtrace to trigger trap from function
  • Loading branch information
jonasbb committed May 26, 2021
2 parents 5e798fe + ee43c8d commit 2366a4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion prepare.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ currentDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
# shellcheck source=base.sh
source "${currentDir}"/base.sh

set -eo pipefail
set -eEo pipefail

# trap any error, and mark it as a system failure.
trap 'exit $SYSTEM_FAILURE_EXIT_CODE' ERR
Expand Down

0 comments on commit 2366a4b

Please sign in to comment.