mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
Fix prev commit
This commit is contained in:
parent
7e87f54716
commit
95550f21a2
1 changed files with 1 additions and 11 deletions
|
|
@ -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 );
|
||||
|
|
|
|||
Loading…
Reference in a new issue