Rewrite the Exit code.