1
0
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:
Dag-Erling Smørgrav 2018-11-01 14:24:12 +00:00
parent 4635676d25
commit caa0408fa8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=339995

View File

@ -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
}