Skip to content

Commit

Permalink
devguide/transactions/img: exit script if error
Browse files Browse the repository at this point in the history
  • Loading branch information
jufajardini committed Jul 12, 2021
1 parent c67ddf1 commit 9b48d0b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions doc/devguide/extending/app-layer/img/generate-images.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ for FILE in *.msc ; do
# if command fails, lets inform about that
if [ $? -ne 0 ]; then
echo "$FILE couldn't be converted in the devguide"
# let's exit to make it more evident something is amiss
exit 1
fi
done

Expand Down

0 comments on commit 9b48d0b

Please sign in to comment.