From 7a414d19c7705f7aec83348388a4be3f581af55d Mon Sep 17 00:00:00 2001 From: Claudio Jeker Date: Tue, 30 May 2023 12:12:07 +0000 Subject: Split cleanup into cleanup and repository cleanup and show how many files are kept / removed in the repository temporary storage. After a discussion with tb@ and job@ --- usr.sbin/rpki-client/main.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'usr.sbin') diff --git a/usr.sbin/rpki-client/main.c b/usr.sbin/rpki-client/main.c index df16465d4fc..110fb94a485 100644 --- a/usr.sbin/rpki-client/main.c +++ b/usr.sbin/rpki-client/main.c @@ -1,4 +1,4 @@ -/* $OpenBSD: main.c,v 1.238 2023/05/26 14:57:38 claudio Exp $ */ +/* $OpenBSD: main.c,v 1.239 2023/05/30 12:12:06 claudio Exp $ */ /* * Copyright (c) 2021 Claudio Jeker * Copyright (c) 2019 Kristaps Dzonsons @@ -1450,9 +1450,10 @@ main(int argc, char *argv[]) printf("Ghostbuster records: %u\n", stats.repo_tal_stats.gbrs); printf("Trust Anchor Keys: %u\n", stats.repo_tal_stats.taks); printf("Repositories: %u\n", stats.repos); - printf("Cleanup: removed %u files, %u directories, %u superfluous\n", + printf("Cleanup: removed %u files, %u directories\n" + "Repository cleanup: kept %u and removed %u superfluous files\n", stats.repo_stats.del_files, stats.repo_stats.del_dirs, - stats.repo_stats.extra_files); + stats.repo_stats.extra_files, stats.repo_stats.del_extra_files); printf("VRP Entries: %u (%u unique)\n", stats.repo_tal_stats.vrps, stats.repo_tal_stats.vrps_uniqs); printf("VAP Entries: %u (%u unique)\n", stats.repo_tal_stats.vaps, -- cgit v1.2.3