summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--g10/keygen.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/g10/keygen.c b/g10/keygen.c
index fbead107b..817704040 100644
--- a/g10/keygen.c
+++ b/g10/keygen.c
@@ -4238,8 +4238,10 @@ generate_keypair (ctrl_t ctrl, int full, const char *fname,
if (opt.batch && card_serialno)
{
- /* We don't yet support unattended key generation. */
+ /* We don't yet support unattended key generation with a card
+ * serial number. */
log_error (_("can't do this in batch mode\n"));
+ print_further_info ("key generation with card serial number");
return;
}