diff options
author | John <john.mccrae@progress.com> | 2022-12-22 17:35:52 +0000 |
---|---|---|
committer | John <john.mccrae@progress.com> | 2022-12-22 17:35:52 +0000 |
commit | abdb60585da12e19252d04ece38d18265c3bdd93 (patch) | |
tree | fe70742eff53e816dc7c8d8657a3df04f19963fe | |
parent | 6c00342e92c7b7eb4953e94ff126e7c1ff35bb27 (diff) | |
download | chef-abdb60585da12e19252d04ece38d18265c3bdd93.tar.gz |
Tweaking omnibus-test to fail properly on Windows
Signed-off-by: John <john.mccrae@progress.com>
-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 } |