diff options
author | Werner Koch <wk@gnupg.org> | 2014-11-19 10:31:34 +0100 |
---|---|---|
committer | Werner Koch <wk@gnupg.org> | 2014-11-19 10:47:56 +0100 |
commit | 0e7dd40342bd56810c27db1c38c1928f56f43bfd (patch) | |
tree | 633cf48590609754cd1858e0ed3b68339d102dfc /g10/call-agent.c | |
parent | common: Change a string to a simlar one to ease translation. (diff) | |
download | gnupg2-0e7dd40342bd56810c27db1c38c1928f56f43bfd.tar.xz gnupg2-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 <wk@gnupg.org>
Diffstat (limited to 'g10/call-agent.c')
-rw-r--r-- | g10/call-agent.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/g10/call-agent.c b/g10/call-agent.c index bacb9d5e0..74d8cec28 100644 --- a/g10/call-agent.c +++ b/g10/call-agent.c @@ -285,7 +285,7 @@ start_agent (ctrl_t ctrl, int for_card) opt.agent_program, opt.lc_ctype, opt.lc_messages, opt.session_env, - opt.verbose, DBG_ASSUAN, + 1, opt.verbose, DBG_ASSUAN, NULL, NULL); if (!rc) { |