mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-03-22 14:39:24 -05: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:
parent
bf0e8374f2
commit
5ce13aad0f
@ -345,6 +345,7 @@ void pty_pre_init(void)
|
|||||||
close(pipefd[0]);
|
close(pipefd[0]);
|
||||||
pty_utmp_helper_pid = pid;
|
pty_utmp_helper_pid = pid;
|
||||||
pty_utmp_helper_pipe = pipefd[1];
|
pty_utmp_helper_pipe = pipefd[1];
|
||||||
|
signal(SIGCHLD, sigchld_handler);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user