Non-0 exit status on error
This commit is contained in:
@@ -19,8 +19,8 @@ func main() {
|
|||||||
// Make the plan
|
// Make the plan
|
||||||
plan, err := helm.NewPlan(c)
|
plan, err := helm.NewPlan(c)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, err.Error())
|
fmt.Fprintf(os.Stderr, "%w\n", err)
|
||||||
return
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Execute the plan
|
// Execute the plan
|
||||||
|
|||||||
Reference in New Issue
Block a user