aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/signal.cc
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index d442b17..718f4e9 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -376,7 +376,7 @@ sigaction (int sig, const struct sigaction *newact, struct sigaction *oldact)
if (sig == SIGCHLD)
{
myself->process_state &= ~PID_NOCLDSTOP;
- if (newact->sa_flags & SA_NOCLDSTOP);
+ if (newact->sa_flags & SA_NOCLDSTOP)
myself->process_state |= PID_NOCLDSTOP;
}
}