]> granicus.if.org Git - sudo/commitdiff
add PS4 and SHELLOPTS to initial_badenv_table for bash
authorTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Oct 2005 00:35:33 +0000 (00:35 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Fri, 28 Oct 2005 00:35:33 +0000 (00:35 +0000)
env.c

diff --git a/env.c b/env.c
index bc61fb44dcf0c37a9e9f44020915fdd2584f9d4d..4b2f03e05b76eccfba320d10d32796d166a09082 100644 (file)
--- a/env.c
+++ b/env.c
@@ -142,6 +142,8 @@ static const char *initial_badenv_table[] = {
     "TERMCAP",                 /* XXX - only if it starts with '/' */
     "ENV",
     "BASH_ENV",
+    "PS4",
+    "SHELLOPTS",
     NULL
 };