[pdnsmysql/check] Don't fail when not on a tty
This commit is contained in:
parent
076eeb5027
commit
a419bcf348
@ -4,7 +4,7 @@
|
||||
|
||||
# Check it is up and running and produces reasonable output
|
||||
TRIES=5
|
||||
while ! docker exec -ti pdnsmysql mariadb -p${MYSQL_ROOT_PASSWORD} mysql -e 'SELECT User FROM user WHERE User="root";'; do
|
||||
while ! docker exec pdnsmysql mariadb -p${MYSQL_ROOT_PASSWORD} mysql -e 'SELECT User FROM user WHERE User="root";'; do
|
||||
TRIES=$((TRIES-1))
|
||||
if [ "$TRIES" = 0 ]; then
|
||||
echo "pdnsmysql not responding to SQL queries" >&2
|
||||
|
Loading…
x
Reference in New Issue
Block a user