Skip to content

Commit

Permalink
fix: exit on error code
Browse files Browse the repository at this point in the history
Signed-off-by: Vladislav Sukhin <[email protected]>
  • Loading branch information
vsukhin committed Nov 11, 2024
1 parent 1414b76 commit 779100c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cmd/kubectl-testkube/commands/testworkflows/run.go
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ func NewRunTestWorkflowCmd() *cobra.Command {
uiShellGetExecution(execution.Id)
}

os.Exit(exitCode)
if exitCode != 0 {
os.Exit(exitCode)
}
}
},
}
Expand Down

0 comments on commit 779100c

Please sign in to comment.