diff options
-rw-r--r-- | init.c | 3 | ||||
-rw-r--r-- | init/init.c | 3 |
2 files changed, 0 insertions, 6 deletions
@@ -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++; } diff --git a/init/init.c b/init/init.c index 4c05c38..55a81d3 100644 --- a/init/init.c +++ b/init/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++; } |