mirror of
https://git.openldap.org/openldap/openldap.git
synced 2024-12-21 03:10:25 +08:00
ITS#2769 - NT SIGBREAK handling
This commit is contained in:
parent
f6c1163eea
commit
4c5c632d70
@ -2077,19 +2077,11 @@ slap_sig_shutdown( int sig )
|
||||
* SIGBREAK is generated when a user logs out.
|
||||
*/
|
||||
|
||||
#if 0
|
||||
#if HAVE_NT_SERVICE_MANAGER && SIGBREAK
|
||||
if (is_NT_Service && sig == SIGBREAK)
|
||||
#ifdef NEW_LOGGING
|
||||
LDAP_LOG( CONNECTION, CRIT,
|
||||
"slap_sig_shutdown: SIGBREAK ignored.\n", 0, 0, 0 );
|
||||
#else
|
||||
Debug(LDAP_DEBUG_TRACE, "slap_sig_shutdown: SIGBREAK ignored.\n",
|
||||
0, 0, 0);
|
||||
#endif
|
||||
;
|
||||
else
|
||||
#endif
|
||||
#endif
|
||||
#ifdef SIGHUP
|
||||
if (sig == SIGHUP && global_gentlehup && slapd_gentle_shutdown == 0)
|
||||
slapd_gentle_shutdown = 1;
|
||||
|
Loading…
Reference in New Issue
Block a user