Revert my change to do extra termType checking. That is done elsewhere.
Silly me. -Erik
This commit is contained in:
parent
be30a6b8b0
commit
8fc300976f
3
init.c
3
init.c
@ -420,9 +420,6 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
||||
while ((environ[j]) && (i < MAXENV)) {
|
||||
if (strncmp(environ[j], "TERM=", 5))
|
||||
environment[i++] = environ[j];
|
||||
else {
|
||||
snprintf(termType, sizeof(termType) - 1, environ[j]);
|
||||
}
|
||||
j++;
|
||||
}
|
||||
|
||||
|
@ -420,9 +420,6 @@ static pid_t run(char *command, char *terminal, int get_enter)
|
||||
while ((environ[j]) && (i < MAXENV)) {
|
||||
if (strncmp(environ[j], "TERM=", 5))
|
||||
environment[i++] = environ[j];
|
||||
else {
|
||||
snprintf(termType, sizeof(termType) - 1, environ[j]);
|
||||
}
|
||||
j++;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user