launcher: SvcInstanceStart: STATUS_TIMEOUT is not error; handle it correctly

This commit is contained in:
Bill Zissimopoulos 2016-07-28 23:50:49 -07:00
parent 35b9cb15a3
commit 4366866653

View File

@ -726,7 +726,7 @@ NTSTATUS SvcInstanceStart(HANDLE ClientToken,
Result = STATUS_TIMEOUT; Result = STATUS_TIMEOUT;
else else
Result = FspNtStatusFromWin32(GetLastError()); Result = FspNtStatusFromWin32(GetLastError());
if (!NT_SUCCESS(Result)) if (!NT_SUCCESS(Result) || STATUS_TIMEOUT == Result)
{ {
CancelIoEx(SvcInstance->StdioHandles[1], &Overlapped); CancelIoEx(SvcInstance->StdioHandles[1], &Overlapped);
goto exit; goto exit;