summaryrefslogtreecommitdiffstats
path: root/client.c
diff options
context:
space:
mode:
authornicm <nicm>2023-07-10 12:00:08 +0000
committernicm <nicm>2023-07-10 12:00:08 +0000
commit63b728237716594d711ef9e7ee3a0203d43f6723 (patch)
treed69a26fcb3406b9727cdc80d02331fbf1afaea15 /client.c
parent4ece43a02961dc6726e97b05caca9a3c53793826 (diff)
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.
Diffstat (limited to 'client.c')
-rw-r--r--client.c3
1 files changed, 0 insertions, 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;