mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-02 22:46:30 +02:00
* command.c (cmd_get_passphrase): Remove the plus signs.
* query.c (start_pinentry): Send no-grab option to pinentry * gpg-agent.c (main): Move variable grab as no_grab to agent.h.
This commit is contained in:
parent
eac306fc90
commit
6aae6603af
5 changed files with 35 additions and 9 deletions
|
@ -229,7 +229,6 @@ main (int argc, char **argv )
|
|||
int nogreeting = 0;
|
||||
int pipe_server = 0;
|
||||
int nodetach = 0;
|
||||
int grab = 0;
|
||||
int csh_style = 0;
|
||||
char *logfile = NULL;
|
||||
int debug_wait = 0;
|
||||
|
@ -269,7 +268,6 @@ main (int argc, char **argv )
|
|||
opt.homedir = "~/.gnupg-test";
|
||||
#endif
|
||||
}
|
||||
grab = 1;
|
||||
|
||||
/* check whether we have a config file on the commandline */
|
||||
orig_argc = argc;
|
||||
|
@ -363,7 +361,7 @@ main (int argc, char **argv )
|
|||
case oNoOptions: break; /* no-options */
|
||||
case oHomedir: opt.homedir = pargs.r.ret_str; break;
|
||||
case oNoDetach: nodetach = 1; break;
|
||||
case oNoGrab: grab = 0; break;
|
||||
case oNoGrab: opt.no_grab = 1; break;
|
||||
case oLogFile: logfile = pargs.r.ret_str; break;
|
||||
case oCsh: csh_style = 1; break;
|
||||
case oSh: csh_style = 0; break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue