Commit 01a4245a authored by Rob Shearman's avatar Rob Shearman Committed by Alexandre Julliard

Don't try waiting for the service process to start if the

CreateProcess call failed.
parent 77da201e
......@@ -1535,7 +1535,8 @@ BOOL WINAPI StartServiceW(SC_HANDLE hService, DWORD dwNumServiceArgs,
TRACE("returning %d\n", r);
service_wait_for_startup(hService);
if (r)
service_wait_for_startup(hService);
return r;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment