diff options
author | NIIBE Yutaka <[email protected]> | 2024-06-28 04:48:04 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-07-01 12:38:50 +0000 |
commit | 81fc7b291ea7b1ffe9c93e91f8b4a69088f384d5 (patch) | |
tree | 5e726acc033759f3394c4b61d742a56043beb418 | |
parent | agent: Handle SCD DEVINFO --watch command in a special way. (diff) | |
download | gnupg-81fc7b291ea7b1ffe9c93e91f8b4a69088f384d5.tar.gz gnupg-81fc7b291ea7b1ffe9c93e91f8b4a69088f384d5.zip |
agent: Initialize thread_startup.fd for pipe connection.
* agent/gpg-agent.c (main): Let it have defined value.
--
Signed-off-by: NIIBE Yutaka <[email protected]>
(cherry picked from commit 14400b2fb3d4e97307799325bb8f704476ce6354)
-rw-r--r-- | agent/gpg-agent.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/agent/gpg-agent.c b/agent/gpg-agent.c index 5305098d2..c4b281d63 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1518,6 +1518,7 @@ main (int argc, char **argv) strerror (errno) ); agent_exit (1); } + ctrl->thread_startup.fd = GNUPG_INVALID_FD; ctrl->session_env = session_env_new (); if (!ctrl->session_env) { |