Skip to content

Commit

Permalink
Add exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
JulianGCalderon committed Oct 25, 2024
1 parent 0a6c9ea commit 77b5142
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions scripts/cmp_state_dumps.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,9 @@ echo
echo "Finished comparison"
echo "- Matching: $matching"
echo "- Diffing: $diffing"

if ! [[ $diffing -eq 0 ]] ; then
exit 1
else
exit 0
fi

0 comments on commit 77b5142

Please sign in to comment.