diff options
Diffstat (limited to 'term-utils')
-rw-r--r-- | term-utils/agetty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/term-utils/agetty.c b/term-utils/agetty.c index 615db2c78..fc373847e 100644 --- a/term-utils/agetty.c +++ b/term-utils/agetty.c @@ -2185,7 +2185,7 @@ static char *get_logname(struct issue *ie, struct options *op, struct termios *t break; } /* Everything was erased. */ - if (bp == logname) + if (bp == logname && cp->eol == '\0') goto no_reload; } } |