From 2fe08ed67fdba9922e79108176d55c6506818f81 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Thu, 12 Dec 2013 14:39:56 +0900 Subject: [PATCH] msiexec: Make sure that SERVICE_STOPPED status is really sent to SCM. --- 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 fdd29bd2293..59dfd0ecb9b 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;