This commit is contained in:
driz 2024-10-15 09:43:41 -04:00 committed by GitHub
parent 7941535e5b
commit fb97758fb5
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -6,9 +6,9 @@ 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=$?
${RET}=$?
sleep 1
done
}