aboutsummaryrefslogtreecommitdiff
path: root/src/unbound-adblock/bin/entrypoint.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/unbound-adblock/bin/entrypoint.sh')
-rwxr-xr-xsrc/unbound-adblock/bin/entrypoint.sh7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/unbound-adblock/bin/entrypoint.sh b/src/unbound-adblock/bin/entrypoint.sh
index b9dd19d..c2577fb 100755
--- a/src/unbound-adblock/bin/entrypoint.sh
+++ b/src/unbound-adblock/bin/entrypoint.sh
@@ -15,12 +15,13 @@ else
fi
# Update root trust anchor
+# This is kind of weird...
+# https://manpages.debian.org/testing/unbound-anchor/unbound-anchor.8.en.html#EXIT_CODE
log "Updating root trust anchor..."
if unbound-anchor -a /var/lib/unbound/root.key; then
- log "Root trust anchor updated successfully"
+ log "no update was necessary"
else
- log "ERROR: Root trust anchor update failed"
- exit 1
+ log "The root anchor was updated using the certificate or if the builtin root-anchor was used."
fi
# Start unbound in debug mode