diff options
author | NIIBE Yutaka <[email protected]> | 2024-06-17 08:19:18 +0000 |
---|---|---|
committer | Werner Koch <[email protected]> | 2024-07-01 12:14:59 +0000 |
commit | e94f793ebf8b9ec6d712a5d405a2e86ada60e1cc (patch) | |
tree | 5ac10c1a50f8a3e56fef0f0403f825154d2f8e29 | |
parent | scd: Fix how scdaemon pipe server finishes. (diff) | |
download | gnupg-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.c | 2 |
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 |