From 399f0a89de0ec1f962a2558db8d59146437fc719 Mon Sep 17 00:00:00 2001 From: Frank Denis Date: Thu, 26 Sep 2019 01:08:02 +0200 Subject: [PATCH] If unbound-control-setup fails, this is not the end of the world --- unbound.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unbound.sh b/unbound.sh index 412c7fc..a906c1a 100755 --- a/unbound.sh +++ b/unbound.sh @@ -94,7 +94,7 @@ mkdir -p -m 700 /opt/unbound/etc/unbound/var && /opt/unbound/sbin/unbound-anchor -a /opt/unbound/etc/unbound/var/root.key if [ ! -f /opt/unbound/etc/unbound/unbound_control.pem ]; then - /opt/unbound/sbin/unbound-control-setup + /opt/unbound/sbin/unbound-control-setup 2>/dev/null ||: fi mkdir -p /opt/unbound/etc/unbound/zones