aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <[email protected]>2024-06-17 08:19:18 +0000
committerWerner Koch <[email protected]>2024-07-01 12:14:59 +0000
commite94f793ebf8b9ec6d712a5d405a2e86ada60e1cc (patch)
tree5ac10c1a50f8a3e56fef0f0403f825154d2f8e29
parentscd: Fix how scdaemon pipe server finishes. (diff)
downloadgnupg-e94f793ebf8b9ec6d712a5d405a2e86ada60e1cc.tar.gz
gnupg-e94f793ebf8b9ec6d712a5d405a2e86ada60e1cc.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]> (cherry picked from commit 9bc3f2ad52ce527a3eb1a713eef3268affa0697e)
-rw-r--r--scd/scdaemon.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/scd/scdaemon.c b/scd/scdaemon.c
index 8c31f2f03..4d4395e15 100644
--- a/scd/scdaemon.c
+++ b/scd/scdaemon.c
@@ -1218,6 +1218,8 @@ start_connection_thread (void *arg)
log_info (_("handler for fd %d started\n"),
FD2INT(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