Fix reversed-logic error in exit code: #5