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 <[email protected]>
This commit is contained in:
Jérôme Duval
2021-01-09 18:10:39 +00:00
committed by waddlesplash
parent 8c812f2d63
commit 62826a0665
+1 -1
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
}
}
}