aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--scripts/utils.inc5
1 files changed, 2 insertions, 3 deletions
diff --git a/scripts/utils.inc b/scripts/utils.inc
index 00213628..6e54d66e 100644
--- a/scripts/utils.inc
+++ b/scripts/utils.inc
@@ -51,6 +51,8 @@
# - serVar
# - isFunction
+# always stop on errors
+set -e
function usage {
echo "Usage: ${0} ${ARG_DEFS[@]}"
@@ -255,9 +257,6 @@ function main {
git_push_dryrun_proxy
fi
- # stop on errors
- set -e
-
# --verbose argument
if [[ $VERBOSE == "true" ]]; then
set -x