Skip to content

Commit a357383

Browse files
committed
fix: a variable reference error.
1 parent 4edb638 commit a357383

File tree

1 file changed

+1
-1
lines changed
  • root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb

1 file changed

+1
-1
lines changed

root/etc/s6-overlay/s6-rc.d/init-mariadb-initdb/run

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ start_mariadb() {
66
mariadbd --datadir="${DATADIR}" --init-file="${tempSqlFile}" --user=abc &
77
pid="$!"
88
RET=1
9-
while [[ RET -ne 0 ]]; do
9+
while [[ ${RET} -ne 0 ]]; do
1010
mariadb -uroot -e "status" >/dev/null 2>&1
1111
RET=$?
1212
sleep 1

0 commit comments

Comments
 (0)