Do not skip .rrdp cache cleanup if rrdp is off (option -R). The sync
authorclaudio <claudio@openbsd.org>
Fri, 28 Jan 2022 14:11:27 +0000 (14:11 +0000)
committerclaudio <claudio@openbsd.org>
Fri, 28 Jan 2022 14:11:27 +0000 (14:11 +0000)
commita8481ad3532fe4a3535724e65b1cbc6bee441010
tree48515eb6d68e2db6c0fc45ad678381992b4898b7
parent04ef99ee4c66a8deae8e75a559aaf91005a0f2b6
Do not skip .rrdp cache cleanup if rrdp is off (option -R). The sync
via rsync alters the cache and rrdp can only recover by downloading
a snapshot. By doing the cleanup here it will make sure this happens.
Noticed by job@
OK tb@
usr.sbin/rpki-client/repo.c