Add line continuation to be consistent with rc_pre(); ok sthen@
authorajacoutot <ajacoutot@openbsd.org>
Mon, 29 Dec 2014 11:17:43 +0000 (11:17 +0000)
committerajacoutot <ajacoutot@openbsd.org>
Mon, 29 Dec 2014 11:17:43 +0000 (11:17 +0000)
etc/rc.d/unbound

index 8f00694..c591b0b 100644 (file)
@@ -1,6 +1,6 @@
 #!/bin/sh
 #
-# $OpenBSD: unbound,v 1.1 2014/03/15 00:34:18 sthen Exp $
+# $OpenBSD: unbound,v 1.2 2014/12/29 11:17:43 ajacoutot Exp $
 
 daemon="/usr/sbin/unbound"
 daemon_flags="-c /var/unbound/etc/unbound.conf"
@@ -25,7 +25,7 @@ rc_pre() {
 }
 
 rc_start() {
-       /usr/sbin/unbound-checkconf > /dev/null &&
+       /usr/sbin/unbound-checkconf > /dev/null && \
            ${rcexec} "unbound ${daemon_flags}"
 }