summaryrefslogtreecommitdiffstats
path: root/term-utils/agetty.c
diff options
context:
space:
mode:
authorMantas Mikulėnas2012-07-25 16:07:16 +0200
committerKarel Zak2012-07-25 16:13:11 +0200
commit9002d6504ad942e06fe2c769070613ca78a7a41e (patch)
treec40623682bc2b0dd579e2bdf2e38438ca3fbab7a /term-utils/agetty.c
parentRevert "fdisk: de-duplicate disk label strings" (diff)
downloadkernel-qcow2-util-linux-9002d6504ad942e06fe2c769070613ca78a7a41e.tar.gz
kernel-qcow2-util-linux-9002d6504ad942e06fe2c769070613ca78a7a41e.tar.xz
kernel-qcow2-util-linux-9002d6504ad942e06fe2c769070613ca78a7a41e.zip
agetty: remove unnecessary sleep(10)
I'm quite sure this is not supposed to be here (apparently added as part of commit 783b08fc1c6e5c906e). Signed-off-by: Mantas Mikulėnas <grawity@gmail.com>
Diffstat (limited to 'term-utils/agetty.c')
-rw-r--r--term-utils/agetty.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c
index fab83b8ff..43243f92a 100644
--- a/term-utils/agetty.c
+++ b/term-utils/agetty.c
@@ -873,8 +873,6 @@ static void open_tty(char *tty, struct termios *tp, struct options *op)
/* Set up new standard input, unless we are given an already opened port. */
-sleep(10);
-
if (strcmp(tty, "-") != 0) {
char buf[PATH_MAX+1];
struct group *gr = NULL;