mirror of
https://github.com/Fishwaldo/huginn.git
synced 2025-03-19 05:11:25 +00:00
parent
89a824cffa
commit
d57ca61026
1 changed files with 1 additions and 1 deletions
|
@ -118,7 +118,7 @@ EOF
|
|||
|
||||
# wait for mysql server to start (max 120 seconds)
|
||||
timeout=120
|
||||
while ! mysqladmin -u root status >/dev/null 2>&1
|
||||
while ! mysqladmin -u root status >/dev/null 2>&1 && ! mysqladmin -u root --password=\${DATABASE_PASSWORD} status >/dev/null 2>&1
|
||||
do
|
||||
(( timeout = timeout - 1 ))
|
||||
if [ \$timeout -eq 0 ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue