1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-10 01:48:00 +00:00

Stop `pterm -ut-' leaving the unnecessary utmp helper as a zombie

process (Debian bug #165887).

[originally from svn r2113]
This commit is contained in:
Simon Tatham 2002-10-22 13:26:57 +00:00
parent bf0e8374f2
commit 5ce13aad0f

View File

@ -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