Change return code to exit status.