Use correct var for detecting MySQL

This commit is contained in:
Jyri-Petteri Paloposki 2024-10-23 01:52:02 +03:00
parent e70a569511
commit 24c4634a7b
5 changed files with 5 additions and 5 deletions

View file

@ -2,7 +2,7 @@
echo "==> Polling DB…"
if [ "$DATABASE_TYPE" == "mysql" ]; then
if [ "$1" == "mysql" ]; then
appdir=$(cd $(dirname "$0")/.. && pwd)
[ -f /etc/app-env ] || exec "$appdir/script/docker-environment" $0 $@