From aaf0dee2609f1cdb0fbe181a4f00e0c600e78a9c Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Mon, 9 Oct 2000 03:31:10 +0000 Subject: * ps.cc (main): Change order of reporting slightly so that windows pids are more obvious. * strace.cc (add_child): Just add child's pid directly. (remove_child): No need to close the child process pid since ContinueDebugEvent does that automatically. (proc_child): Ditto for child thread. --- winsup/utils/kill.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/utils/kill.cc') diff --git a/winsup/utils/kill.cc b/winsup/utils/kill.cc index 7a3be9b35..961475680 100644 --- a/winsup/utils/kill.cc +++ b/winsup/utils/kill.cc @@ -74,7 +74,7 @@ sig0: } else { - if (errno == ESRCH && force && sig != 0) + if (force && sig != 0) forcekill (pid, sig, 0); else { -- cgit v1.2.3