diff options
-rw-r--r-- | loginutils/getty.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c index 31230c9a5..f033b5afd 100644 --- a/loginutils/getty.c +++ b/loginutils/getty.c @@ -435,7 +435,7 @@ static char *get_logname(char *logname, unsigned size_logname, /* Do parity bit handling. */ ascval = c & 0177; - if (c != ascval) { /* "parity" bit on ? */ + if (!(op->flags & F_LOCAL) && (c != ascval)) { /* "parity" bit on ? */ bits = 1; mask = 1; while (mask & 0177) { |