diff options
author | jmz <jmz@FreeBSD.org> | 1999-05-20 22:23:04 +0000 |
---|---|---|
committer | jmz <jmz@FreeBSD.org> | 1999-05-20 22:23:04 +0000 |
commit | b75649d2ee07cc871c5fa10a8bdb998a08df6771 (patch) | |
tree | 90bf633c443e1bb3c961dd5e2665a1e0a218613b /usr.bin | |
parent | 3611f42c01438ac09fa2bebfa9adf5a10feb68ae (diff) | |
download | FreeBSD-src-b75649d2ee07cc871c5fa10a8bdb998a08df6771.zip FreeBSD-src-b75649d2ee07cc871c5fa10a8bdb998a08df6771.tar.gz |
Ignore the MAIL environment variable when the -u flag is set.
PR: bin/8665
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mail/main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/usr.bin/mail/main.c b/usr.bin/mail/main.c index 7c66fa4..6579093 100644 --- a/usr.bin/mail/main.c +++ b/usr.bin/mail/main.c @@ -110,6 +110,7 @@ main(argc, argv) * Next argument is person to pretend to be. */ myname = optarg; + unsetenv("MAIL"); break; case 'i': /* |