mirror of
https://github.com/linuxserver/docker-mariadb.git
synced 2026-02-20 01:01:44 +08:00
Merge pull request #152 from Zerorigin/master
fix: a variable reference error.
This commit is contained in:
commit
4040688984
@ -6,7 +6,7 @@ start_mariadb() {
|
||||
mariadbd --datadir="${DATADIR}" --init-file="${tempSqlFile}" --user=abc &
|
||||
pid="$!"
|
||||
RET=1
|
||||
while [[ RET -ne 0 ]]; do
|
||||
while [[ ${RET} -ne 0 ]]; do
|
||||
mariadb -uroot -e "status" >/dev/null 2>&1
|
||||
RET=$?
|
||||
sleep 1
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user