mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-12 07:13:41 -05:00
Fixed bug (my own, rather old too) that causes a crash on exit when ru
n as a service on NT.
This commit is contained in:
parent
80ab3d6a6e
commit
4b87d9c7d2
1 changed files with 1 additions and 1 deletions
|
|
@ -103,7 +103,7 @@ int main( int argc, LPTSTR *argv )
|
|||
puts( "starting slapd..." );
|
||||
if (svc_installed(SERVICE_NAME, NULL) != 0
|
||||
|| svc_running(SERVICE_NAME) == 1
|
||||
|| StartServiceCtrlDispatcher(DispatchTable) != 0 )
|
||||
|| StartServiceCtrlDispatcher(DispatchTable) == 0 )
|
||||
{
|
||||
is_NT_Service = 0;
|
||||
ServiceMain( argc, argv );
|
||||
|
|
|
|||
Loading…
Reference in a new issue