FS-4127 --resolve

This commit is contained in:
Jeff Lenk 2012-04-18 09:17:52 -05:00
parent e9abdac010
commit e6963e34bb
1 changed files with 1 additions and 1 deletions

View File

@ -212,7 +212,7 @@ void WINAPI service_main(DWORD numArgs, char **args)
memset(&status, 0, sizeof(SERVICE_STATUS));
status.dwServiceType = SERVICE_WIN32;
status.dwCurrentState = SERVICE_START_PENDING;
status.dwControlsAccepted = SERVICE_ACCEPT_STOP;
status.dwControlsAccepted = SERVICE_ACCEPT_STOP | SERVICE_ACCEPT_SHUTDOWN;
/* register our handler for service control messages */
hStatus = RegisterServiceCtrlHandler(service_name, &ServiceCtrlHandler);