summaryrefslogtreecommitdiff
path: root/usr.bin/sudo/env.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-01-16 18:09:14 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-01-16 18:09:14 +0000
commit974d053d7d6dc166e24f5feca3c0ceb85e6b6429 (patch)
treeb73b659f3b57b58ae8e05cfb90040cd1c24fdd0f /usr.bin/sudo/env.c
parent3a5832d5aa39da12b1555cc9cdcaf4d2f7a97ded (diff)
update to sudo 1.6.4p2
Diffstat (limited to 'usr.bin/sudo/env.c')
-rw-r--r--usr.bin/sudo/env.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/sudo/env.c b/usr.bin/sudo/env.c
index b2ab7c0c26b..7bf3a0f3812 100644
--- a/usr.bin/sudo/env.c
+++ b/usr.bin/sudo/env.c
@@ -62,7 +62,7 @@
#include "sudo.h"
#ifndef lint
-static const char rcsid[] = "$Sudo: env.c,v 1.13 2001/12/31 05:53:23 millert Exp $";
+static const char rcsid[] = "$Sudo: env.c,v 1.15 2002/01/15 23:43:58 millert Exp $";
#endif /* lint */
/*
@@ -341,7 +341,7 @@ rebuild_env(sudo_mode, envp)
if (!(didvar & DID_HOME))
*nep++ = format_env("HOME", user_dir);
if (!(didvar & DID_SHELL))
- *nep++ = format_env("SHELL", user_shell);
+ *nep++ = format_env("SHELL", sudo_user.pw->pw_shell);
if (!(didvar & DID_LOGNAME))
*nep++ = format_env("LOGNAME", user_name);
if (!(didvar & DID_USER))