diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 8d32358..1eef084 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) == 0 ]]; then + if [[ $(mysqladmin ping -h"127.0.0.1" -P"3306" --silent) -eq 0 ]]; then exit 0 else sleep 3