Fix exit codes.