]> granicus.if.org Git - strace/blobdiff - process.c
2005-08-03 Roland McGrath <roland@redhat.com>
[strace] / process.c
index f9cffe42e41236d47e6897bc0220599e9cd82dd6..0b34ae61dc862c39310b2d56c772ef60ee78900f 100644 (file)
--- a/process.c
+++ b/process.c
@@ -1988,7 +1988,8 @@ int flagarg;
                                            (tcp->flags & TCB_CLONE_THREAD)
                                            ? tcp->parent :
 #endif
-                                           tcp))
+                                           tcp) ||
+                                   (child->flags & TCB_EXITING))
                                        return 0;
                        }
                        tcp->flags |= TCB_SUSPENDED;