summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgilles <gilles@openbsd.org>2018-12-13 17:07:13 +0000
committergilles <gilles@openbsd.org>2018-12-13 17:07:13 +0000
commitfed7617953ab91908bd823c5a25eafe379cfb504 (patch)
treee97f9eab1f82b51bf1281162f7518aea63f7d088
parentUse a faster, more reliable way to figure out how many TLB entries are (diff)
downloadwireguard-openbsd-fed7617953ab91908bd823c5a25eafe379cfb504.tar.xz
wireguard-openbsd-fed7617953ab91908bd823c5a25eafe379cfb504.zip
do not use err() on fork_processor() exit
-rw-r--r--usr.sbin/smtpd/smtpd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/smtpd.c b/usr.sbin/smtpd/smtpd.c
index 03ccab623a0..1c87350d89f 100644
--- a/usr.sbin/smtpd/smtpd.c
+++ b/usr.sbin/smtpd/smtpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: smtpd.c,v 1.312 2018/12/13 14:06:01 gilles Exp $ */
+/* $OpenBSD: smtpd.c,v 1.313 2018/12/13 17:07:13 gilles Exp $ */
/*
* Copyright (c) 2008 Gilles Chehade <gilles@poolp.org>
@@ -1322,7 +1322,7 @@ fork_processor(const char *name, const char *command, const char *user, const ch
err(1, NULL);
/* there's no successful exit from a processor */
- err(1, NULL);
+ _exit(1);
}
static void