summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--loginutils/getty.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/loginutils/getty.c b/loginutils/getty.c
index 31230c9..f033b5a 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) {