summaryrefslogtreecommitdiff
path: root/etc/rc.d
diff options
context:
space:
mode:
authorAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2022-05-21 10:10:46 +0000
committerAntoine Jacoutot <ajacoutot@cvs.openbsd.org>2022-05-21 10:10:46 +0000
commitdf3bbd868eab3e189579c7dad0fd62eb6c822bfe (patch)
tree2f36b1e9221dc76a740dae14e17245f3b4b324df /etc/rc.d
parent7988e233ddef06f8cbbc91fad70f9e9ee0a4da08 (diff)
No need for true(1).
Diffstat (limited to 'etc/rc.d')
-rw-r--r--etc/rc.d/unbound4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.d/unbound b/etc/rc.d/unbound
index 977525ca75d..0f19c90fdf1 100644
--- a/etc/rc.d/unbound
+++ b/etc/rc.d/unbound
@@ -1,6 +1,6 @@
#!/bin/ksh
#
-# $OpenBSD: unbound,v 1.6 2022/05/17 07:02:40 ajacoutot Exp $
+# $OpenBSD: unbound,v 1.7 2022/05/21 10:10:45 ajacoutot Exp $
daemon="/usr/sbin/unbound"
daemon_flags="-c /var/unbound/etc/unbound.conf"
@@ -10,7 +10,7 @@ daemon_flags="-c /var/unbound/etc/unbound.conf"
rc_pre() {
if grep '^[[:space:]]*auto-trust-anchor-file:' \
/var/unbound/etc/unbound.conf > /dev/null 2>&1; then
- /usr/sbin/unbound-anchor -v || true
+ /usr/sbin/unbound-anchor -v
fi
/usr/sbin/unbound-checkconf || return 1
}