summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2024-01-24 10:39:23 +0100
committerWerner Koch <wk@gnupg.org>2024-01-24 10:40:03 +0100
commitbea31c845aad89142ac43e67b188591cf9b73c50 (patch)
tree1ebbb4264b3dad3f07a5c29a3ae9e60652f62046
parentspeedo: Add a hint to run ldconfig (diff)
downloadgnupg2-bea31c845aad89142ac43e67b188591cf9b73c50.tar.xz
gnupg2-bea31c845aad89142ac43e67b188591cf9b73c50.zip
card: flush stdout to get checkcmd's info messages in order.
* tools/gpg-card.c (cmd_checkkeys): Insert an fflush.
-rw-r--r--tools/gpg-card.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/gpg-card.c b/tools/gpg-card.c
index 442acdc84..185d04b62 100644
--- a/tools/gpg-card.c
+++ b/tools/gpg-card.c
@@ -1490,6 +1490,7 @@ cmd_checkkeys (card_info_t callerinfo, char *argstr)
xfree (infostr);
}
}
+ es_fflush (es_stdout);
if (delete_count)
log_info ("Number of deleted key copies: %d\n", delete_count);