diff options
author | John <john.mccrae@progress.com> | 2023-04-27 06:29:21 -0700 |
---|---|---|
committer | John McCrae <mccrae@progress.com> | 2023-04-27 15:48:34 -0700 |
commit | 987c7043e3bae18be9930b45581e9b688be71b9b (patch) | |
tree | ac2ee78774eca31948f64efeaa5503bb004d424c | |
parent | 74f294caf18c61547ddee5a053672942c2b8c401 (diff) | |
download | chef-987c7043e3bae18be9930b45581e9b688be71b9b.tar.gz |
[chef-17] 17 of X - Correcting Omnibus test error handling
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 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 } |