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/keyedit.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/keyedit.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/keyedit.c b/g10/keyedit.c index 0211a8bc8..637b84015 100644 --- a/g10/keyedit.c +++ b/g10/keyedit.c @@ -1309,10 +1309,11 @@ keyedit_menu( const char *username, STRLIST locusr, if ( opt.command_fd != -1 ) ; - else if( opt.batch && !have_commands ) { - log_error(_("can't do that in batchmode\n")); + else if( opt.batch && !have_commands ) + { + log_error(_("can't do this in batch mode\n")); goto leave; - } + } /* get the public key */ rc = get_pubkey_byname (NULL, username, &keyblock, &kdbhd, 1); |