getty: remove now not needed resetting of ALRM to to SIG_DFL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
7449e18190
commit
94354154c4
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user