From: Howard Chu Date: Wed, 6 Oct 2004 07:26:35 +0000 (+0000) Subject: Fix prev commit X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~456 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=95550f21a26b1b2b80efb13ff93ca45958891be9;p=openldap Fix prev commit --- 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 );