aboutsummaryrefslogtreecommitdiffstats
path: root/g10/plaintext.c
diff options
context:
space:
mode:
authorDavid Shaw <[email protected]>2004-10-28 03:57:30 +0000
committerDavid Shaw <[email protected]>2004-10-28 03:57:30 +0000
commitf15e944b9872468a574ca8f9cb5849a69e6cdb21 (patch)
tree6ba44cca847075c01f1374ddec6c21de470a2549 /g10/plaintext.c
parent* keylist.c (status_one_subpacket): New. Send the subpacket data to the (diff)
downloadgnupg-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/plaintext.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/g10/plaintext.c b/g10/plaintext.c
index 2e3c49907..a09e5e9e4 100644
--- a/g10/plaintext.c
+++ b/g10/plaintext.c
@@ -463,11 +463,12 @@ ask_for_detached_datafile( MD_HANDLE md, MD_HANDLE md2,
tty_printf("No such file, try again or hit enter to quit.\n");
any++;
}
- else if( !fp ) {
- log_error("can't open `%s': %s\n", answer, strerror(errno) );
+ else if( !fp )
+ {
+ log_error(_("can't open `%s': %s\n"), answer, strerror(errno));
rc = G10ERR_READ_FILE;
goto leave;
- }
+ }
} while( !fp );
}