aboutsummaryrefslogtreecommitdiffstats
path: root/src/process.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/process.c')
-rw-r--r--src/process.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/process.c b/src/process.c
index fdb0501f9ec..655f083fc33 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6226,7 +6226,11 @@ handle_child_signal (int sig)
6226 int status; 6226 int status;
6227 6227
6228 if (p->alive 6228 if (p->alive
6229 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) 6229#ifndef WCONTINUED
6230 && child_status_changed (p->pid, &status, WUNTRACED))
6231#else
6232 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6233#endif
6230 { 6234 {
6231 /* Change the status of the process that was found. */ 6235 /* Change the status of the process that was found. */
6232 p->tick = ++process_tick; 6236 p->tick = ++process_tick;