Set exit status.