Exit with 1 when failing

When exiting from an error/failure scripts should return a non-zero code. Allows users to do things like `&&`, etc.
Merge pull request #41 from ghickman/patch-1

Exit with 1 when failing