msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM.

This commit is contained in:
Dmitry Timoshkov 2013-12-12 14:39:56 +09:00 committed by Alexandre Julliard
parent 46cb582a71
commit 2fe08ed67f
1 changed files with 1 additions and 1 deletions

View File

@ -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;