Revert "getty: push assignment to inner block."

This reverts commit c7b8bc367f.

Pointed out by:	trasz
This commit is contained in:
Xin LI 2021-05-09 09:05:52 -07:00
parent 416051f581
commit 8725f0b9db

View File

@ -564,8 +564,8 @@ makeenv(char *env[])
strlcat(termbuf, TT, sizeof(termbuf));
*ep++ = termbuf;
}
if (EV) {
p = EV;
if ((p = EV)) {
q = p;
while ((q = strchr(q, ','))) {
*q++ = '\0';
*ep++ = p;