Skip to content

Commit

Permalink
Fix exit error codes
Browse files Browse the repository at this point in the history
  • Loading branch information
2opremio committed Dec 16, 2024
1 parent b2f2047 commit dc3c9de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions start
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ print_screen_output "Starting system test ..."
trap printout SIGINT
printout() {
echo "Cancelling and exit."
exit
exit 1
}

trap finish EXIT
Expand Down Expand Up @@ -218,7 +218,7 @@ function stellar_rpc_status () {

if [ $COUNTER -gt 900 ]; then
echo "Waited longer than 15 minutes for rpc, cancelling and exit."
exit
exit 1
fi

sleep 5
Expand Down

0 comments on commit dc3c9de

Please sign in to comment.