Skip to content

Commit 41de3d6

Browse files
tboschjamesdaily
authored andcommitted
chore(build): bugfix for script utils
1 parent 8386b2f commit 41de3d6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

scripts/utils.inc

+2-3
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@
5151
# - serVar
5252
# - isFunction
5353

54+
# always stop on errors
55+
set -e
5456

5557
function usage {
5658
echo "Usage: ${0} ${ARG_DEFS[@]}"
@@ -255,9 +257,6 @@ function main {
255257
git_push_dryrun_proxy
256258
fi
257259

258-
# stop on errors
259-
set -e
260-
261260
# --verbose argument
262261
if [[ $VERBOSE == "true" ]]; then
263262
set -x

0 commit comments

Comments
 (0)