diff options
author | John McCrae <john.mccrae@progress.com> | 2023-05-01 07:51:51 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-01 07:51:51 -0700 |
commit | b7eb3f0168025a81432b0b4f975372daac19de65 (patch) | |
tree | ac2ee78774eca31948f64efeaa5503bb004d424c | |
parent | 74f294caf18c61547ddee5a053672942c2b8c401 (diff) | |
parent | 987c7043e3bae18be9930b45581e9b688be71b9b (diff) | |
download | chef-b7eb3f0168025a81432b0b4f975372daac19de65.tar.gz |
Merge pull request #13725 from chef/jfm/chef17_omnibus_exit_code
[chef-17] 17 of X - Correcting Omnibus test error handling
-rw-r--r-- | omnibus/omnibus-test.ps1 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/omnibus/omnibus-test.ps1 b/omnibus/omnibus-test.ps1 index 71af497dd1..3b7c99c434 100644 --- a/omnibus/omnibus-test.ps1 +++ b/omnibus/omnibus-test.ps1 @@ -122,4 +122,4 @@ If ($lastexitcode -ne 0) { $exit = 1 } Write-Output "Last exit code: $lastexitcode" Write-Output "" -Throw $exit +If ($exit -ne 0) { Throw $exit } |