diff options
author | David Shaw <[email protected]> | 2004-10-28 03:57:30 +0000 |
---|---|---|
committer | David Shaw <[email protected]> | 2004-10-28 03:57:30 +0000 |
commit | f15e944b9872468a574ca8f9cb5849a69e6cdb21 (patch) | |
tree | 6ba44cca847075c01f1374ddec6c21de470a2549 /g10/revoke.c | |
parent | * keylist.c (status_one_subpacket): New. Send the subpacket data to the (diff) | |
download | gnupg-f15e944b9872468a574ca8f9cb5849a69e6cdb21.tar.gz gnupg-f15e944b9872468a574ca8f9cb5849a69e6cdb21.zip |
* card-util.c, delkey.c, keygen.c, plaintext.c, keyedit.c, passphrase.c,
revoke.c: Collapse the two different "can't do that in batch mode" strings
into one.
Diffstat (limited to '')
-rw-r--r-- | g10/revoke.c | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/g10/revoke.c b/g10/revoke.c index 58e1c518a..591ff7776 100644 --- a/g10/revoke.c +++ b/g10/revoke.c @@ -211,10 +211,11 @@ gen_desig_revoke( const char *uname ) u32 keyid[2]; int i,any=0; - if( opt.batch ) { - log_error(_("sorry, can't do this in batch mode\n")); + if( opt.batch ) + { + log_error(_("can't do this in batch mode\n")); return G10ERR_GENERAL; - } + } memset( &afx, 0, sizeof afx); @@ -411,10 +412,11 @@ gen_revoke( const char *uname ) struct revocation_reason_info *reason = NULL; KEYDB_SEARCH_DESC desc; - if( opt.batch ) { - log_error(_("sorry, can't do this in batch mode\n")); + if( opt.batch ) + { + log_error(_("can't do this in batch mode\n")); return G10ERR_GENERAL; - } + } memset( &afx, 0, sizeof afx); init_packet( &pkt ); |