From: Todd C. Miller Date: Thu, 13 Mar 2008 11:34:31 +0000 (+0000) Subject: Preserve HOME by default too. Matches documentation and previous behavior. X-Git-Tag: SUDO_1_7_0~148 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=daba1995fc916675318ddafd9b3d2660e2cf6181;p=sudo Preserve HOME by default too. Matches documentation and previous behavior. --- diff --git a/env.c b/env.c index 924a3acb4..b9ee0ab34 100644 --- 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",