From 94354154c475c92ea6fa0cd0b989bce29d031013 Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Sat, 22 Oct 2011 06:30:48 +0200 Subject: getty: remove now not needed resetting of ALRM to to SIG_DFL Signed-off-by: Denys Vlasenko --- loginutils/getty.c | 1 - 1 file changed, 1 deletion(-) diff --git a/loginutils/getty.c b/loginutils/getty.c index 168ae4de1..230846008 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -254,7 +254,6 @@ static void init_tty_attrs(int speed) alarm(5); tcdrain(STDIN_FILENO); alarm(0); - signal(SIGALRM, SIG_DFL); /* do not break -t TIMEOUT! */ /* Flush input and output queues, important for modems! */ tcflush(STDIN_FILENO, TCIOFLUSH); -- cgit v1.2.3