Revert my change to do extra termType checking. That is done elsewhere.
authorEric Andersen <andersen@codepoet.org>
Thu, 22 Feb 2001 00:50:20 +0000 (00:50 -0000)
committerEric Andersen <andersen@codepoet.org>
Thu, 22 Feb 2001 00:50:20 +0000 (00:50 -0000)
Silly me.
 -Erik

init.c
init/init.c

diff --git a/init.c b/init.c
index 4c05c38e3cfa67f5c3cdcb78eba16e94e032fc7d..55a81d3093cb257b63e62827c98023aee99f6443 100644 (file)
--- a/init.c
+++ b/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++;
        }
 
index 4c05c38e3cfa67f5c3cdcb78eba16e94e032fc7d..55a81d3093cb257b63e62827c98023aee99f6443 100644 (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++;
        }