Skip to content

Commit

Permalink
Use POSIX-compatible counter incrementing (#168)
Browse files Browse the repository at this point in the history
  • Loading branch information
danielbachhuber authored Apr 12, 2023
1 parent a8513f9 commit 2e31d19
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/install-package-tests
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ while ! mysql --user="${USER}" "${PASSWORD_STRING}" --execute="SHOW DATABASES;"
do
echo 'Waiting for MySQL...'
sleep 5
let "i+=1"
i=$((i+1))
if [ $i -gt 36 ]; then
echo 'MySQL failed to start. Aborting.'
exit 1
Expand Down

0 comments on commit 2e31d19

Please sign in to comment.