From 10aeb0a40cc2485345ccce46e239b417efebd952 Mon Sep 17 00:00:00 2001 From: Brian Havard Date: Sun, 11 Aug 2002 04:40:59 +0000 Subject: [PATCH] Don't catch more than 1 SIGTERM in the parent process as doing so results in an unkillable process if shutdown_pending doesn't manage to trigger process exit. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96349 13f79535-47bb-0310-9956-ffa450edef68 --- server/mpm/mpmt_os2/mpmt_os2.c | 1 + 1 file changed, 1 insertion(+) diff --git a/server/mpm/mpmt_os2/mpmt_os2.c b/server/mpm/mpmt_os2/mpmt_os2.c index 84addf8e69..8771b955fc 100644 --- a/server/mpm/mpmt_os2/mpmt_os2.c +++ b/server/mpm/mpmt_os2/mpmt_os2.c @@ -415,6 +415,7 @@ static void spawn_child(int slot) static void sig_term(int sig) { shutdown_pending = 1; + signal(SIGTERM, SIG_DFL); } -- 2.50.1