diff options
Diffstat (limited to 'bin/ksh/mail.c')
-rw-r--r-- | bin/ksh/mail.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bin/ksh/mail.c b/bin/ksh/mail.c index a26bde87579..04033a4f2d3 100644 --- a/bin/ksh/mail.c +++ b/bin/ksh/mail.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mail.c,v 1.2 1996/08/19 20:08:55 downsj Exp $ */ +/* $OpenBSD: mail.c,v 1.3 1997/01/02 17:37:27 downsj Exp $ */ /* * Mailbox checking code by Robert J. Gibson, adapted for PD ksh by @@ -180,7 +180,8 @@ mbox_t *mbp; { struct tbl *vp; - setstr((vp = local("_", FALSE)), mbp->mb_path); + if (!Flag(FSH)) + setstr((vp = local("_", FALSE)), mbp->mb_path); shellf("%s\n", substitute(mbp->mb_msg ? mbp->mb_msg : MBMESSAGE, 0)); |