diff options
author | Werner Koch <[email protected]> | 2023-08-29 11:18:13 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2023-08-29 11:18:13 +0000 |
commit | a430f2254999383d48d3891a79623a4b33e7ce2d (patch) | |
tree | bb5112359a5e1f2d607b9bba24c1fa5331925508 /tools/gpg-auth.c | |
parent | agent: Add agent_kick_the_loop function. (diff) | |
download | gnupg-a430f2254999383d48d3891a79623a4b33e7ce2d.tar.gz gnupg-a430f2254999383d48d3891a79623a4b33e7ce2d.zip |
common: Prepare for more flags in start_new_service.
* common/asshelp.h (ASSHELP_FLAG_AUTOSTART): New.
* common/asshelp.c (start_new_service): Rename arg autostart to flags
and adjust checks.
(start_new_gpg_agent): Likewise. Change all callers.
(start_new_keyboxd): Likewise. Change all callers.
(start_new_dirmngr): Likewise. Change all callers.
--
It is easier to have a generic flags arg instead of adding more and
more dedicated args. verbose and debug are kept as they are because
they are not boolean.
Diffstat (limited to 'tools/gpg-auth.c')
-rw-r--r-- | tools/gpg-auth.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/gpg-auth.c b/tools/gpg-auth.c index f433ba220..a818bee5d 100644 --- a/tools/gpg-auth.c +++ b/tools/gpg-auth.c @@ -396,7 +396,7 @@ start_agent (assuan_context_t *ctx_p) opt.agent_program, NULL, NULL, session_env, - opt.autostart, + opt.autostart?ASSHELP_FLAG_AUTOSTART:0, !opt.quiet, 0, NULL, NULL); |