summaryrefslogtreecommitdiffstats
path: root/scd
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2024-06-17 10:19:18 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2024-06-17 10:19:18 +0200
commit9bc3f2ad52ce527a3eb1a713eef3268affa0697e (patch)
tree724cb9dc9d7e2849a7cd472293d767526bf3f239 /scd
parentscd: Fix how scdaemon pipe server finishes. (diff)
downloadgnupg2-9bc3f2ad52ce527a3eb1a713eef3268affa0697e.tar.xz
gnupg2-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 <gniibe@fsij.org>
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