diff options
author | nicm <nicm> | 2023-07-10 12:00:08 +0000 |
---|---|---|
committer | nicm <nicm> | 2023-07-10 12:00:08 +0000 |
commit | 63b728237716594d711ef9e7ee3a0203d43f6723 (patch) | |
tree | d69a26fcb3406b9727cdc80d02331fbf1afaea15 | |
parent | 4ece43a02961dc6726e97b05caca9a3c53793826 (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.
-rw-r--r-- | client.c | 3 |
1 files changed, 0 insertions, 3 deletions
@@ -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; |