diff options
author | NIIBE Yutaka <[email protected]> | 2024-06-28 04:48:04 +0000 |
---|---|---|
committer | NIIBE Yutaka <[email protected]> | 2024-06-28 04:48:04 +0000 |
commit | 14400b2fb3d4e97307799325bb8f704476ce6354 (patch) | |
tree | be31981ed18f40d3390dc1224b8d469c30b03cfc | |
parent | agent: Handle SCD DEVINFO --watch command in a special way. (diff) | |
download | gnupg-14400b2fb3d4e97307799325bb8f704476ce6354.tar.gz gnupg-14400b2fb3d4e97307799325bb8f704476ce6354.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]>
-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 3e1fb5d5b..a0ac3c622 100644 --- a/agent/gpg-agent.c +++ b/agent/gpg-agent.c @@ -1530,6 +1530,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) { |