]> git.sur5r.net Git - openldap/commitdiff
Fix prev commit
authorHoward Chu <hyc@openldap.org>
Wed, 6 Oct 2004 07:26:35 +0000 (07:26 +0000)
committerHoward Chu <hyc@openldap.org>
Wed, 6 Oct 2004 07:26:35 +0000 (07:26 +0000)
servers/slapd/daemon.c

index b8bd3a62f141a2a6c69b25b1c3d53a09ad83a5dd..9201566362f196fc7386e073f49711f9dd3b158a 100644 (file)
@@ -40,8 +40,6 @@
 
 #include "ldap_rq.h"
 
-#include <valgrind/valgrind.h>
-
 #ifdef HAVE_TCPD
 #include <tcpd.h>
 #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 );