Commit 431869b8 authored by Alex Thomae's avatar Alex Thomae

Fixes the DB_NAME

parent 057ccbea
Pipeline #73312919 passed with stage
in 1 minute and 28 seconds
......@@ -69,6 +69,14 @@ then
exit 1
fi
if [[ -z "${DB_NAME}" ]]
then
echo "ERROR: Couldn't find the database name." >&2
echo >&2
echo "Please set the DB_NAME environment variable" >&2
exit 1
fi
DB_PORT=${DB_PORT:-3306}
echo "DATABASE SETTINGS"
......@@ -76,13 +84,7 @@ echo "=================="
echo
echo " Host: ${DB_HOST}"
echo " Port: ${DB_PORT}"
echo
if [[ -n "${!DB_NAME}" ]]
then
echo " Database: ${!DB_NAME}"
echo
fi
echo " Database: ${DB_NAME}"
#
# Change UID / GID of backup user and settings umask.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment