diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 13465f9..8d32358 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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