Commit 03712dcc authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Conditionally add SIGTRAP signal handler

parent 1b5c5da9
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment