aboutsummaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-06-17 08:19:18 +0000
committerNIIBE Yutaka <[email protected]>2024-06-17 08:19:18 +0000
commit9bc3f2ad52ce527a3eb1a713eef3268affa0697e (patch)
tree724cb9dc9d7e2849a7cd472293d767526bf3f239 /scd
parentscd: Fix how scdaemon pipe server finishes. (diff)
downloadgnupg-9bc3f2ad52ce527a3eb1a713eef3268affa0697e.tar.gz
gnupg-9bc3f2ad52ce527a3eb1a713eef3268affa0697e.zip
Fix the previous commit.
* scd/scdaemon.c (start_connection_thread): Recover call of scd_command_handler. -- GnuPG-bug-id: 7160 Signed-off-by: NIIBE Yutaka <[email protected]>
Diffstat (limited to 'scd')
-rw-r--r--scd/scdaemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index d3c8c6ba2..854ff6653 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -1216,6 +1216,8 @@ start_connection_thread (void *arg)
log_info (_("handler for fd %d started\n"),
FD_DBG (ctrl->thread_startup.fd));
+ scd_command_handler (ctrl, ctrl->thread_startup.fd);
+
/* If this thread is the pipe connection thread, flag that a
shutdown is required. With the next ticker event and given that
no other connections are running the shutdown will then