]> granicus.if.org Git - sudo/commitdiff
Preserve HOME by default too. Matches documentation and previous behavior.
authorTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2008 11:34:31 +0000 (11:34 +0000)
committerTodd C. Miller <Todd.Miller@courtesan.com>
Thu, 13 Mar 2008 11:34:31 +0000 (11:34 +0000)
env.c

diff --git a/env.c b/env.c
index 924a3acb4a17edd11a7308c867245fec041f6a51..b9ee0ab34d86433eb845f79b4f42821f085d4b0a 100644 (file)
--- a/env.c
+++ b/env.c
@@ -198,6 +198,7 @@ static const char *initial_checkenv_table[] = {
 static const char *initial_keepenv_table[] = {
     "COLORS",
     "DISPLAY",
+    "HOME",
     "HOSTNAME",
     "KRB5CCNAME",
     "LS_COLORS",