mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Assign checkmode boolean earlier to handle the goto jump.
Might fix PR bin/63769.
This commit is contained in:
parent
d493ed0f97
commit
761981e0e8
1 changed files with 1 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in a new issue