diff --git a/ci/run-check.sh b/ci/run-check.sh index 8278196c77..406278074b 100755 --- a/ci/run-check.sh +++ b/ci/run-check.sh @@ -46,6 +46,10 @@ case $TARGET in echo "Folder ./target not found" sleep 5 fi + if ! ps -p $CARGO_PID > /dev/null; then + echo "Cargo process has finished." + break + fi done wait $CARGO_PID exit $?