rpki-client: better cleanup code

2021-03-31 Thread Claudio Jeker
The current code to cleanup the repository after validation did not cleanup directories and also skipped any repo directory that is no referenced. Adjust the cleanup code to fix these two issues. This uses the fact that the cache directory now only contains 2 directories rsync & ta. Thanks to the

Re: rpki-client: better cleanup code

2021-03-31 Thread Claudio Jeker
On Wed, Mar 31, 2021 at 12:40:57PM +0200, Claudio Jeker wrote: > The current code to cleanup the repository after validation did not > cleanup directories and also skipped any repo directory that is no > referenced. > > Adjust the cleanup code to fix these two issues. This uses the fact that > the

Re: rpki-client: better cleanup code

2021-03-31 Thread Claudio Jeker
On Wed, Mar 31, 2021 at 01:41:36PM +0200, Claudio Jeker wrote: > On Wed, Mar 31, 2021 at 12:40:57PM +0200, Claudio Jeker wrote: > > The current code to cleanup the repository after validation did not > > cleanup directories and also skipped any repo directory that is no > > referenced. > > > > Adj