diff --git a/integration-tests/bor_health.sh b/integration-tests/bor_health.sh index 8e79197d00..020aa25063 100644 --- a/integration-tests/bor_health.sh +++ b/integration-tests/bor_health.sh @@ -6,7 +6,7 @@ do peers=$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'admin.peers'") block-$(docker exec bor0 bash -c "bor attach /root/.bor/data/bor.ipc -exec 'eth.blockNumber'") - if [[ -n "$peers" ]] && [[ -n "$block" ]] then + if [[ -n "$peers" ]] && [[ -n "$block" ]]; then break fi done \ No newline at end of file