mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
Fixes for command-fd
This commit is contained in:
parent
dc7cea85ba
commit
cfdb80a759
3 changed files with 44 additions and 4 deletions
|
@ -625,8 +625,9 @@ keyedit_menu( const char *username, STRLIST locusr, STRLIST commands,
|
|||
int toggle;
|
||||
int have_commands = !!commands;
|
||||
|
||||
|
||||
if( opt.batch && !have_commands ) {
|
||||
if ( opt.command_fd != -1 )
|
||||
;
|
||||
else if( opt.batch && !have_commands ) {
|
||||
log_error(_("can't do that in batchmode\n"));
|
||||
goto leave;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue