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
Родитель bf0e8374f2
Коммит 5ce13aad0f
1 изменённых файлов: 1 добавлений и 0 удалений

Просмотреть файл

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