Don't try waiting for the service process to start if the
CreateProcess call failed.
This commit is contained in:
parent
77da201e8f
commit
01a4245a51
|
@ -1535,6 +1535,7 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs,
|
|||
|
||||
TRACE("returning %d\n", r);
|
||||
|
||||
if (r)
|
||||
service_wait_for_startup(hService);
|
||||
|
||||
return r;
|
||||
|
|
Loading…
Reference in New Issue