summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorStuart Henderson <sthen@cvs.openbsd.org>2012-01-20 22:27:31 +0000
committerStuart Henderson <sthen@cvs.openbsd.org>2012-01-20 22:27:31 +0000
commitb11e2b8692dea890eaf4ea0d9cedbf3ca8a46b17 (patch)
tree371082661ba8a5f326e6d1681f0bde3014d33111 /etc/rc.d
parentd98928a4c2ed63a9d7f711457e87667a80d88ccb (diff)
Fix pexp for sendmail; it can be "sendmail: rejecting" as well as accepting.
From danh@, ok aja@ giovanni@
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/sendmail4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/sendmail b/etc/rc.d/sendmail
index 45994505386..ab2805372d2 100644
--- a/etc/rc.d/sendmail
+++ b/etc/rc.d/sendmail
@@ -1,12 +1,12 @@
#!/bin/sh
#
-# $OpenBSD: sendmail,v 1.4 2011/07/12 05:40:55 robert Exp $
+# $OpenBSD: sendmail,v 1.5 2012/01/20 22:27:30 sthen Exp $
daemon="/usr/sbin/sendmail"
. /etc/rc.d/rc.subr
-pexp="(sendmail: accepting.*|${daemon}* -(q[0-9]|bd)*)"
+pexp="(sendmail: (accepting|rejecting).*|${daemon}* -(q[0-9]|bd)*)"
rc_bg=YES