From 89addaa7a52e46014a3c6996ca3a093e9f5fd4d0 Mon Sep 17 00:00:00 2001 From: Alexander Karatarakis Date: Thu, 25 Jan 2018 14:57:26 -0800 Subject: VcpkgInvokeCommand: return the error code --- scripts/VcpkgPowershellUtils.ps1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'scripts') 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 -- cgit v1.2.3