From 9e13c0944156ee4ea8f4423849b88cdb9dc630ba Mon Sep 17 00:00:00 2001 From: Quazgar <quazgar@posteo.de> Date: Tue, 24 Mar 2020 14:44:21 +0000 Subject: [PATCH] MAINT: Move "set -e" --- make_db | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/make_db b/make_db index 0e5cc3c..58aca17 100755 --- a/make_db +++ b/make_db @@ -23,6 +23,7 @@ # ** end header # To fail fast, but beware https://mywiki.wooledge.org/BashFAQ/105 +set -e source utils/load_settings.sh source .config || true @@ -38,7 +39,6 @@ fi INSTALL_SQL_FILE="db_2_0.sql" SQL="$MYSQL_CMD $MYSQL_CONNECTION" -set -e function fail() { echo "Some error occured, exiting." -- GitLab