summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorajacoutot <ajacoutot@openbsd.org>2014-07-17 15:00:06 +0000
committerajacoutot <ajacoutot@openbsd.org>2014-07-17 15:00:06 +0000
commitaf67e104858401c2d9baeb3f7a9340613279fbd7 (patch)
tree120b89838de30a012973c869efc7bd2b4200a646
parent"Race-free because we're running single-threaded in a new (diff)
downloadwireguard-openbsd-af67e104858401c2d9baeb3f7a9340613279fbd7.tar.xz
wireguard-openbsd-af67e104858401c2d9baeb3f7a9340613279fbd7.zip
Unbreak after the rc_do->_rc_do and rc_wait->_rc_wait renaming.
If someone wants to take a shot a modifying this rc script so that it does not use internal rc.subr functions, be my guest... spotted by jsg@
-rw-r--r--etc/rc.d/spamd4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/spamd b/etc/rc.d/spamd
index caee8043583..e8183f58fee 100644
--- a/etc/rc.d/spamd
+++ b/etc/rc.d/spamd
@@ -1,6 +1,6 @@
#!/bin/sh
#
-# $OpenBSD: spamd,v 1.4 2013/12/17 09:19:45 halex Exp $
+# $OpenBSD: spamd,v 1.5 2014/07/17 15:00:06 ajacoutot Exp $
daemon="/usr/libexec/spamd"
@@ -20,7 +20,7 @@ rc_start() {
spamd_setup_flags="-D"
[ X"${spamd_black}" != X"NO" ] && \
spamd_setup_flags="-b ${spamd_setup_flags}"
- rc_do rc_wait start && /usr/libexec/spamd-setup ${spamd_setup_flags}
+ _rc_do _rc_wait start && /usr/libexec/spamd-setup ${spamd_setup_flags}
}
rc_cmd $1