From 7bb649f11a469541b23779ca09ecad7565d53334 Mon Sep 17 00:00:00 2001 From: Joachim Wiberg Date: Sun, 18 Apr 2021 04:57:10 +0200 Subject: [PATCH] tty: don't block SIGHUP, needed to exit getty gracefully Signed-off-by: Joachim Wiberg --- src/exec.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/exec.c b/src/exec.c index dc97b34e..b20938f8 100644 --- a/src/exec.c +++ b/src/exec.c @@ -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);