set exit status != 0 in error paths
Merge pull request #14 from ebfe/exit_status

set exit status != 0 in error paths