From 09b8fc44af80d1765bff64c4bb51334e0576c282 Mon Sep 17 00:00:00 2001 From: ajacoutot Date: Sat, 21 May 2022 10:10:45 +0000 Subject: [PATCH] No need for true(1). --- etc/rc.d/unbound | 4 ++-- 1 file 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 } -- 2.20.1