send a non-zero exit code if script terminates early
Merge pull request #61 from lindseydew/exit-code-errors

send a non-zero exit code if script terminates early