From 62826a0665bca430bb539c56270e296b0479a094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=B4me=20Duval?= Date: Sat, 9 Jan 2021 17:38:38 +0100 Subject: [PATCH] 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 --- src/bin/debug/strace/strace.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/bin/debug/strace/strace.cpp b/src/bin/debug/strace/strace.cpp index 60034901d4..1ae5751a99 100644 --- a/src/bin/debug/strace/strace.cpp +++ b/src/bin/debug/strace/strace.cpp @@ -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 } } }