strace: continue_thread can fail when the origin team is gone

Change-Id: I2de8aaaf90ef987d3871dbbbef73c49240d99a89
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3615
Reviewed-by: waddlesplash <waddlesplash@gmail.com>
This commit is contained in:
Jérôme Duval 2021-01-09 17:38:38 +01:00 committed by waddlesplash
parent 8c812f2d63
commit 62826a0665

View File

@ -773,7 +773,7 @@ main(int argc, const char *const *argv)
if (message.origin.thread >= 0 && message.origin.nub_port >= 0) {
if (continue_thread(message.origin.nub_port,
message.origin.thread) != B_OK) {
exit(1);
// the team can already be gone
}
}
}