From 06ce2e566c374399786cb180dfb99df098610710 Mon Sep 17 00:00:00 2001 From: Mathieu CARBONNEAUX OSUAGWU Date: Tue, 5 Nov 2024 02:20:12 +0100 Subject: [PATCH] remove the last kill for windows --- cgi-fcgi/cgi-fcgi.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/cgi-fcgi/cgi-fcgi.c b/cgi-fcgi/cgi-fcgi.c index 558d275..20ccdc7 100644 --- a/cgi-fcgi/cgi-fcgi.c +++ b/cgi-fcgi/cgi-fcgi.c @@ -744,7 +744,9 @@ void handle_shutdown(int s) { /* Kill our children processes */ signal(s, SIG_IGN); +#ifndef _WIN32 kill(0, s); +#endif exit(0); }