summaryrefslogtreecommitdiff
path: root/usr.sbin/rpki-client/main.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2023-05-30 12:12:07 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2023-05-30 12:12:07 +0000
commit7a414d19c7705f7aec83348388a4be3f581af55d (patch)
tree2115887119952add2b3e21a9ebb101976b80aab9 /usr.sbin/rpki-client/main.c
parentf2688fa2417de78daaba0bc82f6c5742268e5962 (diff)
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@
Diffstat (limited to 'usr.sbin/rpki-client/main.c')
-rw-r--r--usr.sbin/rpki-client/main.c7
1 files changed, 4 insertions, 3 deletions
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 <claudio@openbsd.org>
* Copyright (c) 2019 Kristaps Dzonsons <kristaps@bsd.lv>
@@ -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,