diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2022-08-25 15:06:04 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2022-08-26 10:03:37 -0500 |
commit | a37208d9a26ec7886870cc17f0726676a285bf7f (patch) | |
tree | e620e863cd16801d126cee93eaca7b63293914cf /src/burn/engine/pipe.cpp | |
parent | 6bd9fb04a9a8c1805a3e909583cca85c54dea7e4 (diff) | |
download | wix-a37208d9a26ec7886870cc17f0726676a285bf7f.tar.gz wix-a37208d9a26ec7886870cc17f0726676a285bf7f.tar.bz2 wix-a37208d9a26ec7886870cc17f0726676a285bf7f.zip |
Make sure error codes are translated correctly for per-machine packages.
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 | } |