Exit with the proper status (0 for success, 1 for failure)
Merge pull request #14 from gregkare/exit_status

Exit with the proper status (0 for success, 1 for failure)