Skip to content
This repository has been archived by the owner on Jan 9, 2024. It is now read-only.

Commit

Permalink
Make sure script exits when run from command line
Browse files Browse the repository at this point in the history
  • Loading branch information
jgreben committed Jan 31, 2020
1 parent 95bfee5 commit b57a1b7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions run/fileLoad.sh
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ EXIT_CODE=$?

if [ $EXIT_CODE -gt 0 ] ; then
echo "Processor exited abnormally. Check log file for details"
exit $EXIT_CODE
else
echo "Processor exited successfully"
exit 0
fi

0 comments on commit b57a1b7

Please sign in to comment.