diff options
author | Werner Koch <[email protected]> | 2014-11-19 09:31:34 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2014-11-19 09:47:56 +0000 |
commit | 0e7dd40342bd56810c27db1c38c1928f56f43bfd (patch) | |
tree | 633cf48590609754cd1858e0ed3b68339d102dfc /common/get-passphrase.c | |
parent | common: Change a string to a simlar one to ease translation. (diff) | |
download | gnupg-0e7dd40342bd56810c27db1c38c1928f56f43bfd.tar.gz gnupg-0e7dd40342bd56810c27db1c38c1928f56f43bfd.zip |
Add "gpgconf --kill dirmngr" and avoid useless launch before a kill.
* common/asshelp.c (start_new_gpg_agent): Add arg autostart. Change
all callers to use 1 for it.
(start_new_dirmngr): Ditto.
* tools/gpg-connect-agent.c: Add option --no-autostart.
(main): Default autostart to 1.
(start_agent): Implement no-autostart.
* tools/gpgconf-comp.c (gpg_agent_runtime_change): Use --no-autostart.
(scdaemon_runtime_change): Ditto.
(dirmngr_runtime_change): New.
Signed-off-by: Werner Koch <[email protected]>
Diffstat (limited to 'common/get-passphrase.c')
-rw-r--r-- | common/get-passphrase.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/get-passphrase.c b/common/get-passphrase.c index 5b11eb169..53ce7d136 100644 --- a/common/get-passphrase.c +++ b/common/get-passphrase.c @@ -98,7 +98,7 @@ start_agent (void) agentargs.lc_ctype, agentargs.lc_messages, agentargs.session_env, - agentargs.verbosity, 0, NULL, NULL); + 1, agentargs.verbosity, 0, NULL, NULL); if (!err) { /* Tell the agent that we support Pinentry notifications. No |