diff options
author | John McCrae <john.mccrae@progress.com> | 2022-12-22 09:52:46 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-22 09:52:46 -0800 |
commit | a8511b9db33ac0299821a88dc6d749ec34aa3081 (patch) | |
tree | 64e6bc8b67be4826b1d8f1bdb4e2a2027b3765bd | |
parent | 5679a283b25cefc9f763614be0ded3fc71a7218b (diff) | |
parent | abdb60585da12e19252d04ece38d18265c3bdd93 (diff) | |
download | chef-a8511b9db33ac0299821a88dc6d749ec34aa3081.tar.gz |
Merge pull request #13460 from chef/jfm/chef16_omnibus_error
Tweaking omnibus-test to fail properly on Windows
-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 e7c35cf8f9..d9a549f89f 100644 --- a/omnibus/omnibus-test.ps1 +++ b/omnibus/omnibus-test.ps1 @@ -146,4 +146,4 @@ If ($lastexitcode -ne 0) { $exit = 1 } Write-Output "Last exit code: $lastexitcode" Write-Output "" -Throw $exit +If ($exit -ne 0) { Throw $exit } |