X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/8bf5c4190a58dcafed54ea311b274f633475c5ef..2747574ceab37e58378ff8958718f1b8f2c2dd9f:/unix/pty.c diff --git a/unix/pty.c b/unix/pty.c index 3fd8b3f9..7fe0dc73 100644 --- a/unix/pty.c +++ b/unix/pty.c @@ -345,6 +345,7 @@ void pty_pre_init(void) close(pipefd[0]); pty_utmp_helper_pid = pid; pty_utmp_helper_pipe = pipefd[1]; + signal(SIGCHLD, sigchld_handler); } #endif