From: Mantas Mikulėnas Date: Wed, 25 Jul 2012 14:07:16 +0000 (+0300) Subject: agetty: remove unnecessary sleep(10) X-Git-Tag: v2.22-rc1~84 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9002d6504ad942e06fe2c769070613ca78a7a41e;p=thirdparty%2Futil-linux.git 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 --- diff --git a/term-utils/agetty.c b/term-utils/agetty.c index fab83b8ff9..43243f92ad 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;