summaryrefslogtreecommitdiffstats
path: root/usr.bin/mail
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/mail')
-rw-r--r--usr.bin/mail/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.bin/mail/lex.c b/usr.bin/mail/lex.c
index 973eee5..7eb1123 100644
--- a/usr.bin/mail/lex.c
+++ b/usr.bin/mail/lex.c
@@ -77,6 +77,7 @@ setfile(name)
char tempname[PATHSIZE];
static int shudclob;
+ checkmode = value("checkmode") != NULL;
if ((name = expand(name)) == NULL)
return (-1);
@@ -151,7 +152,6 @@ setfile(name)
(void)Fclose(ibuf);
relsesigs();
sawcom = 0;
- checkmode = value("checkmode") != NULL;
if ((checkmode || !edit) && msgCount == 0) {
nomail:
OpenPOWER on IntegriCloud