]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
agetty: remove unnecessary sleep(10)
authorMantas Mikulėnas <grawity@gmail.com>
Wed, 25 Jul 2012 14:07:16 +0000 (17:07 +0300)
committerKarel Zak <kzak@redhat.com>
Wed, 25 Jul 2012 14:13:11 +0000 (16:13 +0200)
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>
term-utils/agetty.c

index fab83b8ff993bb2819b199cefef514fc19b9014e..43243f92ad87e396d493f53c984fd16dd7c54dd6 100644 (file)
@@ -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;