When user starts to enter logname, 8b58ffdd blocks issue reloads. Reloads remain blocked even if user deletes all typed characters. Make things visually consistent: If no characters are entered, re-enable reloads. Signed-off-by: Stanislav Brabec <sbrabec@xxxxxxx> Cc: Lubomir Rintel <lkundrak@xxxxx> Cc: Karel Zak <kzak@xxxxxxxxxx> --- term-utils/agetty.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/term-utils/agetty.c b/term-utils/agetty.c index cfcdffe93..05a269abb 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -2182,6 +2182,9 @@ static char *get_logname(struct issue *ie, struct options *op, struct termios *t *bp++ = ascval; /* and store it */ break; } + /* Everything was erased. */ + if (bp == logname) + goto no_reload; } } -- 2.19.1 -- Best Regards / S pozdravem, Stanislav Brabec software developer --------------------------------------------------------------------- SUSE LINUX, s. r. o. e-mail: sbrabec@xxxxxxxx Křižíkova 148/34 (Corso IIa) tel: +49 911 7405384547 186 00 Praha 8-Karlín fax: +420 284 084 001 Czech Republic http://www.suse.cz/ PGP: 830B 40D5 9E05 35D8 5E27 6FA3 717C 209F A04F CD76