Skip to content

Commit

Permalink
exit with code 1 in case of error
Browse files Browse the repository at this point in the history
  • Loading branch information
janboll committed Jan 7, 2025
1 parent 1e46e60 commit 0017d12
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions tooling/templatize/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ func main() {

if err := cmd.Execute(); err != nil {
logger.Error(err, "command failed")
os.Exit(1)
}
}

Expand Down

0 comments on commit 0017d12

Please sign in to comment.