Fix waiting on client application

This commit is contained in:
Patrick Nicolas
2024-06-14 09:57:45 +02:00
parent b454868221
commit 64244980af
+1 -1
View File
@@ -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;