Some commands were not returning the correct exit codes.
Some commands were not returning the correct exit codes (followup).
Merge pull request #258 from asprega/master

Some commands were not returning the correct exit codes.