Use perrorMsg and clean up exit status.
2 files changed