Skip to content

Commit

Permalink
break the loop when cargo finishes
Browse files Browse the repository at this point in the history
  • Loading branch information
gpmayorga committed Apr 29, 2024
1 parent c8cd256 commit 068415d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions ci/run-check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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 $?
Expand Down

0 comments on commit 068415d

Please sign in to comment.