From 1feae2011ccd122ffb9a8f28013a13e57fc0b4fd Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Sun, 18 Apr 1999 08:18:52 +0000 Subject: See ChangeLog: Sun Apr 18 10:11:28 CEST 1999 Werner Koch --- g10/keyedit.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'g10/keyedit.c') diff --git a/g10/keyedit.c b/g10/keyedit.c index ad53c37bb..7ae006a68 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -306,8 +306,11 @@ sign_uids( KBNODE keyblock, STRLIST locusr, int *ret_modified, int local ) tty_printf( _("The signature will be marked as non-exportable.\n\n")); - if( !cpr_get_answer_is_yes("sign_uid.okay", _("Really sign? ")) ) - continue;; + + if( opt.batch && opt.answer_yes ) + ; + else if( !cpr_get_answer_is_yes("sign_uid.okay", _("Really sign? ")) ) + continue; /* now we can sign the user ids */ reloop: /* (must use this, because we are modifing the list) */ primary_pk = NULL; -- cgit