1
0
Fork 0
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:
Werner Koch 2000-10-13 10:31:16 +00:00
parent dc7cea85ba
commit cfdb80a759
3 changed files with 44 additions and 4 deletions

View file

@ -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;
}