aboutsummaryrefslogtreecommitdiffstats
path: root/g10/revoke.c
diff options
context:
space:
mode:
Diffstat (limited to 'g10/revoke.c')
-rw-r--r--g10/revoke.c14
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 );