agetty: fix --login-pause logic
Let's "eat" ENTER key when pressed after login pause prompt. Addresses: https://github.com/karelzak/util-linux/issues/491 Signed-off-by: Karel Zak <kzak@redhat.com>
This commit is contained in:
parent
aaf133265f
commit
fe63c8a649
|
@ -1697,9 +1697,8 @@ again:
|
|||
termio_clear(STDOUT_FILENO);
|
||||
goto again;
|
||||
}
|
||||
#else
|
||||
getc(stdin);
|
||||
#endif
|
||||
getc(stdin);
|
||||
}
|
||||
#ifdef KDGKBLED
|
||||
if (!(op->flags & F_NOHINTS) && !op->autolog &&
|
||||
|
|
Loading…
Reference in New Issue