Typo correction

There was a typo in the script, rendering a TCP connection to MySQL or Postgres impossible.
This commit is contained in:
dryware-fr authored and GitHub committed 2018-01-19 17:26:56 +01:00
1 parent 75bcf3091b
commit e4bfae260b
1 file changed
+1 -1
+1 -1
View File
@@ -37,7 +37,7 @@ if [[ "$1" == apache2* ]] || [ "$1" == php-fpm ]; then
echo >&2 'Error: POSTFIXADMIN_DB_USER and POSTFIXADMIN_DB_PASSWORD must be specified. '
exit 1
fi
timeout 15 bash -c "until echo > /dev/tcp/${POSTFIXADMIN_HOST}/${POSTFIXADMIN_DB_PORT}; do sleep 0.5; done"
timeout 15 bash -c "until echo > /dev/tcp/${POSTFIXADMIN_DB_HOST}/${POSTFIXADMIN_DB_PORT}; do sleep 0.5; done"
fi
if [ "$POSTFIXADMIN_DB_TYPE" = 'sqlite' ]; then