Skip to content

Commit 4040688

Browse files
authored
Merge pull request #152 from Zerorigin/master
fix: a variable reference error.
2 parents 7941535 + a357383 commit 4040688

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)