Skip to content
Snippets Groups Projects
Commit 9e19d6b8 authored by Kurt Zeilenga's avatar Kurt Zeilenga
Browse files

Fix NT service shutdown bug

parent 48535e7d
No related branches found
No related tags found
No related merge requests found
......@@ -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 );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment