abort if exit status is not success
Merge pull request #406 from banyan/fix-exit-status

abort if exit status is not success