]> granicus.if.org Git - sudo/commitdiff
Don't need to populate keepenv table with the contents of the checkenv table.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Jun 2007 21:21:30 +0000 (21:21 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Mon, 18 Jun 2007 21:21:30 +0000 (21:21 +0000)
env.c

diff --git a/env.c b/env.c
index f04a9bbfa94e453ebfb5633084ad07aad9b5a286..885d0054e929d24569de66679d652683480b2c07 100644 (file)
--- a/env.c
+++ b/env.c
@@ -181,14 +181,9 @@ static const char *initial_checkenv_table[] = {
  * Default table of variables to preserve in the environment.
  */
 static const char *initial_keepenv_table[] = {
-    "LC_*",
-    "LANG",
-    "LANGUAGE",
     "KRB5CCNAME",
     "DISPLAY",
     "PATH",
-    "TERM",
-    "COLORTERM",
     "TZ",
     NULL
 };