mirror of
https://github.com/troglobit/finit.git
synced 2026-10-02 05:52:48 +07:00
tty: don't block SIGHUP, needed to exit getty gracefully
Signed-off-by: Joachim Wiberg <troglobit@gmail.com>
This commit is contained in:
@@ -290,7 +290,6 @@ static void prepare_tty(char *tty, speed_t speed, char *procname, struct rlimit
|
||||
sigemptyset(&sa.sa_mask);
|
||||
sa.sa_flags = SA_RESTART;
|
||||
sa.sa_handler = SIG_IGN;
|
||||
sigaction(SIGHUP, &sa, NULL);
|
||||
sigaction(SIGINT, &sa, NULL);
|
||||
sigaction(SIGQUIT, &sa, NULL);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user