Correct exit codes on status