(linux_test_for_tracefork): Don't leave zombie

process.
This commit is contained in:
Nick Roberts 2006-09-16 09:48:12 +00:00
parent d51ca893c3
commit 97725dc4f6

View File

@ -276,6 +276,7 @@ linux_test_for_tracefork (int original_pid)
ret = ptrace (PTRACE_KILL, second_pid, 0, 0);
if (ret != 0)
warning (_("linux_test_for_tracefork: failed to kill second child"));
my_waitpid (second_pid, &status, 0);
}
}
else