msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM.
This commit is contained in:
parent
46cb582a71
commit
2fe08ed67f
|
@ -92,7 +92,7 @@ static void WINAPI ServiceCtrlHandler(DWORD code)
|
|||
UpdateSCMStatus(SERVICE_STOP_PENDING, NO_ERROR, 0);
|
||||
KillService();
|
||||
state = SERVICE_STOPPED;
|
||||
return;
|
||||
break;
|
||||
default:
|
||||
fprintf(stderr, "Unhandled service control code: %d\n", code);
|
||||
break;
|
||||
|
|
Loading…
Reference in New Issue