From 63b728237716594d711ef9e7ee3a0203d43f6723 Mon Sep 17 00:00:00 2001 From: nicm Date: Mon, 10 Jul 2023 12:00:08 +0000 Subject: It should no longer be necessary to ignore SIGCHLD because it is now blocked around daemon(), and doing so causes trouble with newer libevent (it cannot restore the original handler). Reported by Azat Khuzhin in GitHub issue 3626. --- client.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/client.c b/client.c index be17540c..ff89e6f8 100644 --- a/client.c +++ b/client.c @@ -246,9 +246,6 @@ client_main(struct event_base *base, int argc, char **argv, uint64_t flags, u_int ncaps = 0; struct args_value *values; - /* Ignore SIGCHLD now or daemon() in the server will leave a zombie. */ - signal(SIGCHLD, SIG_IGN); - /* Set up the initial command. */ if (shell_command != NULL) { msg = MSG_SHELL; -- cgit v1.2.3