Fix shellcheck warning

This commit is contained in:
Faustin Lammler 2021-11-12 15:28:18 +01:00
parent 7ed6078daf
commit 0b96748a86
No known key found for this signature in database
GPG Key ID: 390A2F27832A5C79
1 changed files with 1 additions and 1 deletions

View File

@ -77,7 +77,7 @@ done
for db in ${VAR_DB_LIST_ARGS//,/ }; do
echo_date "start $db dump."
typeset DUMP_FILE=$VAR_DUMPS_DST_DIR/$db.$(date +%F_%H%M%S).sql
DUMP_FILE=$VAR_DUMPS_DST_DIR/$db.$(date +%F_%H%M%S).sql
mysqldump --single-transaction --quick --routines "$db" >"$DUMP_FILE"
# shellcheck disable=SC2181
if (($? != 0)); then