From 95550f21a26b1b2b80efb13ff93ca45958891be9 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Wed, 6 Oct 2004 07:26:35 +0000 Subject: [PATCH] Fix prev commit --- servers/slapd/daemon.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/servers/slapd/daemon.c b/servers/slapd/daemon.c index b8bd3a62f1..9201566362 100644 --- a/servers/slapd/daemon.c +++ b/servers/slapd/daemon.c @@ -40,8 +40,6 @@ #include "ldap_rq.h" -#include - #ifdef HAVE_TCPD #include #define SLAP_STRING_UNKNOWN STRING_UNKNOWN @@ -1835,15 +1833,7 @@ slap_sig_shutdown( int sig ) else #endif slapd_shutdown = 1; - - if ( sig == SIGTRAP ) - { - slapd_shutdown = 0; - VALGRIND_ATTACH_GDB(1); - } else - { - WAKE_LISTENER(1); - } + WAKE_LISTENER(1); /* reinstall self */ (void) SIGNAL_REINSTALL( sig, slap_sig_shutdown ); -- 2.39.5