mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
Typo correction
There was a typo in the script, rendering a TCP connection to MySQL or Postgres impossible.
This commit is contained in:
parent
75bcf3091b
commit
e4bfae260b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user