From 64244980afd102b137814b320a4e24667f6fe33f Mon Sep 17 00:00:00 2001 From: Patrick Nicolas Date: Fri, 14 Jun 2024 09:57:45 +0200 Subject: [PATCH] Fix waiting on client application --- server/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/main.cpp b/server/main.cpp index c1565b8e..a87befca 100644 --- a/server/main.cpp +++ b/server/main.cpp @@ -298,7 +298,7 @@ int inner_main(int argc, char * argv[]) if (fds[2].revents & POLLIN) { // Client application exited - waitpid_verbose(server_pid, "Client"); + waitpid_verbose(client_pid, "Client"); client_running = false; fds[2].fd = -1;