summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGilles Chehade <gilles@cvs.openbsd.org>2018-12-13 17:07:14 +0000
committerGilles Chehade <gilles@cvs.openbsd.org>2018-12-13 17:07:14 +0000
commit3d14d8797244b0e6b72353394f548114c2bfbe7d (patch)
tree3819f5e0db77f0a5312fb9794bf287a18f9b368d
parent8f8f28d969b9db6e73884422cca47c953b806f1d (diff)
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