From 13ea70af049dabcec3f7fe907240d3a8aaeef4dc Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Mon, 5 Dec 2022 11:42:53 +0100 Subject: [PATCH] unbound: change working directory before check. closes https://github.com/opnsense/core/issues/6171 --- src/opnsense/scripts/unbound/check.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opnsense/scripts/unbound/check.sh b/src/opnsense/scripts/unbound/check.sh index 2ca40ee70..79a0b2e3e 100755 --- a/src/opnsense/scripts/unbound/check.sh +++ b/src/opnsense/scripts/unbound/check.sh @@ -27,5 +27,6 @@ set -e +cd /var/unbound/ /usr/local/sbin/unbound-checkconf /var/unbound/unbound.conf 2>&1 | \ sed -e 's/^unbound-checkconf:[[:space:]]//g'