diff options
author | Ed Maste <emaste@FreeBSD.org> | 2022-04-18 23:57:48 +0000 |
---|---|---|
committer | Ed Maste <emaste@FreeBSD.org> | 2022-04-19 14:30:52 +0000 |
commit | 19780592633e50efca39454d1ecf029bd7d87868 (patch) | |
tree | 01facbd583b436f3a6c15535c5a49ffb55995c1b /crypto | |
parent | 2184ca3f191d8750fb56b6d50997d437646c9384 (diff) | |
download | src-19780592633e50efca39454d1ecf029bd7d87868.tar.gz src-19780592633e50efca39454d1ecf029bd7d87868.zip |
Diffstat (limited to 'crypto')
-rw-r--r-- | crypto/openssh/session.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/crypto/openssh/session.c b/crypto/openssh/session.c index 830508e45a60..375ccb671d80 100644 --- a/crypto/openssh/session.c +++ b/crypto/openssh/session.c @@ -1077,12 +1077,6 @@ do_setup_env(struct ssh *ssh, Session *s, const char *shell) # endif /* HAVE_CYGWIN */ #endif /* HAVE_LOGIN_CAP */ - if (!options.use_pam) { - snprintf(buf, sizeof buf, "%.200s/%.50s", - _PATH_MAILDIR, pw->pw_name); - child_set_env(&env, &envsize, "MAIL", buf); - } - /* Normal systems set SHELL by default. */ child_set_env(&env, &envsize, "SHELL", shell); |