Update exit status.