diff options
| author | Alexander Karatarakis <alkarata@microsoft.com> | 2018-01-25 14:57:26 -0800 |
|---|---|---|
| committer | Alexander Karatarakis <alkarata@microsoft.com> | 2018-01-25 14:57:26 -0800 |
| commit | 89addaa7a52e46014a3c6996ca3a093e9f5fd4d0 (patch) | |
| tree | 3b53e6b781149d29bcdc9e33e4e0b0a4947b55b2 /scripts | |
| parent | a8a20f1a1338ecc5ebb0575135b820b06479ae15 (diff) | |
| download | vcpkg-89addaa7a52e46014a3c6996ca3a093e9f5fd4d0.tar.gz vcpkg-89addaa7a52e46014a3c6996ca3a093e9f5fd4d0.zip | |
VcpkgInvokeCommand: return the error code
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/VcpkgPowershellUtils.ps1 | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/scripts/VcpkgPowershellUtils.ps1 b/scripts/VcpkgPowershellUtils.ps1 index 3ca540874..06fc458f7 100644 --- a/scripts/VcpkgPowershellUtils.ps1 +++ b/scripts/VcpkgPowershellUtils.ps1 @@ -174,6 +174,7 @@ function vcpkgInvokeCommand() Wait-Process -InputObject $process $ec = $process.ExitCode Write-Verbose "Execution terminated with exit code $ec." + return $ec } function vcpkgInvokeCommandClean() @@ -193,4 +194,5 @@ function vcpkgInvokeCommandClean() Wait-Process -InputObject $process $ec = $process.ExitCode Write-Verbose "Execution terminated with exit code $ec." + return $ec }
\ No newline at end of file |
