mirror of
https://github.com/opnsense/src.git
synced 2026-06-10 17:22:46 -04:00
Run unbound-anchor when root.key is empty, not just when it is absent.
PR: 232555 Submitted by: Ari Suutari <ari@stonepile.fi> MFC after: 3 days
This commit is contained in:
parent
4635676d25
commit
caa0408fa8
1 changed files with 1 additions and 1 deletions
|
|
@ -92,7 +92,7 @@ local_unbound_prestart()
|
|||
fi
|
||||
|
||||
# Retrieve DNSSEC root key
|
||||
if [ ! -f ${local_unbound_anchor} ] ; then
|
||||
if [ ! -s ${local_unbound_anchor} ] ; then
|
||||
run_rc_command anchor
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue