summaryrefslogtreecommitdiff
path: root/pathnames.h.in
diff options
context:
space:
mode:
authorTodd C. Miller <Todd.Miller@courtesan.com>2010-07-19 12:50:59 -0400
committerTodd C. Miller <Todd.Miller@courtesan.com>2010-07-19 12:50:59 -0400
commit3b83b59e0c82e1f1c31d92766490b50f3e5fcf64 (patch)
treeca03c3be7288caba0ef9b9b7ee4cb0441c083735 /pathnames.h.in
parentaaafae038f356405dd2fb6b203a218b29e16dfc7 (diff)
downloadsudo-3b83b59e0c82e1f1c31d92766490b50f3e5fcf64.tar.gz
If env_reset is enabled, set the MAIL environment variable based
on the target user unless MAIL is explicitly preserved in sudoers.
Diffstat (limited to 'pathnames.h.in')
-rw-r--r--pathnames.h.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/pathnames.h.in b/pathnames.h.in
index 4e6cc078d..f624325c7 100644
--- a/pathnames.h.in
+++ b/pathnames.h.in
@@ -133,6 +133,10 @@
#define _PATH_USRTMP "/usr/tmp/"
#endif /* _PATH_USRTMP */
+#ifndef _PATH_MAILDIR
+#undef _PATH_MAILDIR
+#endif /* _PATH_MAILDIR */
+
#ifndef _PATH_SUDO_SESH
#undef _PATH_SUDO_SESH
#endif /* _PATH_SUDO_SESH */