Revert my change to do extra termType checking. That is done elsewhere.

Silly me.
 -Erik
This commit is contained in:
Eric Andersen 2001-02-22 00:50:20 +00:00
parent be30a6b8b0
commit 8fc300976f
2 changed files with 0 additions and 6 deletions

3
init.c
View File

@ -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++;
}

View File

@ -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++;
}