aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dns/unbound/Makefile2
-rw-r--r--dns/unbound/files/unbound.in3
2 files changed, 3 insertions, 2 deletions
diff --git a/dns/unbound/Makefile b/dns/unbound/Makefile
index a771293b8123..63c0d160ffbd 100644
--- a/dns/unbound/Makefile
+++ b/dns/unbound/Makefile
@@ -3,7 +3,7 @@
PORTNAME= unbound
PORTVERSION= 1.4.22
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= dns
MASTER_SITES= http://unbound.net/downloads/
diff --git a/dns/unbound/files/unbound.in b/dns/unbound/files/unbound.in
index 94ae92124cd2..b587b1580eea 100644
--- a/dns/unbound/files/unbound.in
+++ b/dns/unbound/files/unbound.in
@@ -23,7 +23,7 @@ rcvar=unbound_enable
command="%%PREFIX%%/sbin/unbound"
extra_commands="reload"
start_precmd="start_precmd"
-reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null"
+reload_precmd="%%PREFIX%%/sbin/unbound-checkconf >/dev/null"
load_rc_config $name
@@ -41,6 +41,7 @@ start_precmd()
su -m unbound -c "%%PREFIX%%/sbin/unbound-anchor ${unbound_anchorflags}"; \
fi &&
echo .
+ return 0
}
run_rc_command "$1"