Skip to content

Commit

Permalink
Use explicit condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ssciolla committed Apr 10, 2024
1 parent 36df1d0 commit 3652a44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
run: |
for i in {1..10}
do
if [[ ! $(mysqladmin ping -h"127.0.0.1" -P"3306" --silent) ]]; then
if [[ $(mysqladmin ping -h"127.0.0.1" -P"3306" --silent) == 0 ]]; then
exit 0
else
sleep 3
Expand Down

0 comments on commit 3652a44

Please sign in to comment.