SCCS-vsn: usr.sbin/sendmail/src/main.c 8.10
#endif /* not lint */
#ifndef lint
#endif /* not lint */
#ifndef lint
-static char sccsid[] = "@(#)main.c 8.9 (Berkeley) %G%";
+static char sccsid[] = "@(#)main.c 8.10 (Berkeley) %G%";
#endif /* not lint */
#define _DEFINE
#endif /* not lint */
#define _DEFINE
smtp(CurEnv);
# endif /* SMTP */
smtp(CurEnv);
# endif /* SMTP */
+ if (OpMode == MD_VERIFY)
+ {
+ CurEnv->e_sendmode = SM_VERIFY;
+ CurEnv->e_errormode = EM_QUIET;
+ }
+ else
+ {
+ /* interactive -- all errors are global */
+ CurEnv->e_flags |= EF_GLOBALERRS;
+ }
+
/*
** Do basic system initialization and set the sender
*/
/*
** Do basic system initialization and set the sender
*/
collect(FALSE, FALSE, CurEnv);
finis();
}
collect(FALSE, FALSE, CurEnv);
finis();
}
- if (OpMode == MD_VERIFY)
- {
- CurEnv->e_sendmode = SM_VERIFY;
- CurEnv->e_errormode = EM_QUIET;
- }
/*
** Scan argv and deliver the message to everyone.
/*
** Scan argv and deliver the message to everyone.