mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-16 10:20:30 +00: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
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339995
@ -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 New Issue
Block a user