diff options
Diffstat (limited to 'src/fastd.c')
-rw-r--r-- | src/fastd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fastd.c b/src/fastd.c index 9761715..2a31da2 100644 --- a/src/fastd.c +++ b/src/fastd.c @@ -75,6 +75,7 @@ static void on_sigusr1(int signo UNUSED) { } static void on_sigchld(int signo UNUSED) { + while (waitpid(-1, NULL, WNOHANG) > 0) {} } static void init_signals(fastd_context_t *ctx) { |