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