summaryrefslogtreecommitdiff
path: root/loginutils
diff options
context:
space:
mode:
authorDenys Vlasenko2011-10-22 06:30:48 +0200
committerDenys Vlasenko2011-10-22 06:30:48 +0200
commit94354154c475c92ea6fa0cd0b989bce29d031013 (patch)
tree67e71a4a1b530249c348fdd6904798c20899541b /loginutils
parent7449e18190b8ed07a7cd1711b40885ae4b97efb4 (diff)
downloadbusybox-94354154c475c92ea6fa0cd0b989bce29d031013.zip
busybox-94354154c475c92ea6fa0cd0b989bce29d031013.tar.gz
getty: remove now not needed resetting of ALRM to to SIG_DFL
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'loginutils')
-rw-r--r--loginutils/getty.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 168ae4d..2308460 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);