msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM.
Dmitry Timoshkov
dmitry at baikal.ru
Wed Dec 11 23:39:56 CST 2013
---
programs/msiexec/service.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/programs/msiexec/service.c b/programs/msiexec/service.c
index fdd29bd..59dfd0e 100644
--- a/programs/msiexec/service.c
+++ b/programs/msiexec/service.c
@@ -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;
--
1.8.5.1
More information about the wine-patches
mailing list