diff options
Diffstat (limited to 'src/burn/engine/pipe.cpp')
-rw-r--r-- | src/burn/engine/pipe.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/burn/engine/pipe.cpp b/src/burn/engine/pipe.cpp index 19bdcaa2..5003622c 100644 --- a/src/burn/engine/pipe.cpp +++ b/src/burn/engine/pipe.cpp | |||
@@ -495,7 +495,7 @@ extern "C" HRESULT PipeTerminateChildProcess( | |||
495 | HRESULT hrDebug = S_OK; | 495 | HRESULT hrDebug = S_OK; |
496 | 496 | ||
497 | hrDebug = CoreWaitForProcCompletion(pConnection->hProcess, 0, &dwChildExitCode); | 497 | hrDebug = CoreWaitForProcCompletion(pConnection->hProcess, 0, &dwChildExitCode); |
498 | if (E_ACCESSDENIED != hrDebug) // if the other process is elevated and we are not, then we'll get ERROR_ACCESS_DENIED. | 498 | if (E_ACCESSDENIED != hrDebug && FAILED(hrDebug)) // if the other process is elevated and we are not, then we'll get ERROR_ACCESS_DENIED. |
499 | { | 499 | { |
500 | TraceError(hrDebug, "Failed to wait for child process completion."); | 500 | TraceError(hrDebug, "Failed to wait for child process completion."); |
501 | } | 501 | } |