mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* 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.
This commit is contained in:
parent
f5b7a72a48
commit
f15e944b98
8 changed files with 27 additions and 19 deletions
|
@ -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 );
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue