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 2c66b9e976e..07b690e6ebd 100644
--- a/src/process.c
+++ b/src/process.c
@@ -6225,7 +6225,11 @@ handle_child_signal (int sig)
6225 int status; 6225 int status;
6226 6226
6227 if (p->alive 6227 if (p->alive
6228 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED)) 6228#ifndef WCONTINUED
6229 && child_status_changed (p->pid, &status, WUNTRACED))
6230#else
6231 && child_status_changed (p->pid, &status, WUNTRACED | WCONTINUED))
6232#endif
6229 { 6233 {
6230 /* Change the status of the process that was found. */ 6234 /* Change the status of the process that was found. */
6231 p->tick = ++process_tick; 6235 p->tick = ++process_tick;