Skip to content

Commit

Permalink
Merge pull request #108 from IvanVergiliev/ivan-fail-loudly
Browse files Browse the repository at this point in the history
Exit from embed.sh with a non-zero exit code in case of error
  • Loading branch information
hoschwenk authored Dec 4, 2019
2 parents 7b42262 + 042862e commit 2d7b324
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tasks/embed/embed.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@

if [ -z ${LASER+x} ] ; then
echo "Please set the environment variable 'LASER'"
exit
exit 1
fi

if [ $# -ne 3 ] ; then
echo "usage embed.sh input-file language output-file"
exit
exit 1
fi

ifile=$1
Expand Down

0 comments on commit 2d7b324

Please sign in to comment.