aboutsummaryrefslogtreecommitdiffstats
path: root/sink.c
diff options
context:
space:
mode:
Diffstat (limited to 'sink.c')
-rw-r--r--sink.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sink.c b/sink.c
index 1f54b2f8..5759a876 100644
--- a/sink.c
+++ b/sink.c
@@ -937,6 +937,7 @@ void release_sink(struct query *ctl)
#else
sigaction (SIGCHLD, &sa_old, NULL);
#endif /* HAVE_SIGACTION */
+ deal_with_sigchld();
}
}
@@ -960,6 +961,7 @@ int close_sink(struct query *ctl, struct msgblk *msg, flag forward)
#else
sigaction (SIGCHLD, &sa_old, NULL);
#endif /* HAVE_SIGACTION */
+ deal_with_sigchld();
if (rc)
{
report(stderr,