Fix exit code.