From 0017d1272e4099812ca721c39fc128f527bc0569 Mon Sep 17 00:00:00 2001 From: Jan-Hendrik Boll Date: Tue, 7 Jan 2025 10:31:12 +0100 Subject: [PATCH] exit with code 1 in case of error --- tooling/templatize/main.go | 1 + 1 file changed, 1 insertion(+) diff --git a/tooling/templatize/main.go b/tooling/templatize/main.go index 0970e3dd4..4deee1e3f 100644 --- a/tooling/templatize/main.go +++ b/tooling/templatize/main.go @@ -60,6 +60,7 @@ func main() { if err := cmd.Execute(); err != nil { logger.Error(err, "command failed") + os.Exit(1) } }