mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-01-04 06:01:23 -05:00
Conditionally add SIGTRAP signal handler
This commit is contained in:
parent
1b5c5da96d
commit
03712dcc3e
1 changed files with 2 additions and 0 deletions
|
|
@ -704,7 +704,9 @@ unhandled_option:;
|
|||
#endif
|
||||
(void) SIGNAL( SIGINT, slap_sig_shutdown );
|
||||
(void) SIGNAL( SIGTERM, slap_sig_shutdown );
|
||||
#ifdef SIGTRAP
|
||||
(void) SIGNAL( SIGTRAP, slap_sig_shutdown );
|
||||
#endif
|
||||
#ifdef LDAP_SIGCHLD
|
||||
(void) SIGNAL( LDAP_SIGCHLD, wait4child );
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Reference in a new issue