Skip to content

Commit

Permalink
fix: a variable reference error.
Browse files Browse the repository at this point in the history
  • Loading branch information
Zerorigin committed Sep 13, 2024
1 parent 4edb638 commit a357383
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb/run
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit a357383

Please sign in to comment.