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

Commit 2366a4b

Browse files
authored
Merge pull request #9 from tomaskrizek/errtrace
prepare.sh: use errtrace to trigger trap from function
2 parents 5e798fe + ee43c8d commit 2366a4b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

prepare.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ currentDir="$(cd "$(dirname "${BASH_SOURCE[0]}")" >/dev/null 2>&1 && pwd)"
44
# shellcheck source=base.sh
55
source "${currentDir}"/base.sh
66

7-
set -eo pipefail
7+
set -eEo pipefail
88

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

0 commit comments

Comments
 (0)