exit 0 causes terminal to freeze

- Same behaviour as if you typed exit.  updated it to exit 1
Merge pull request #12 from x-team/issue-11

exit 0 causes terminal to freeze