Skip to content

Commit e6a79c5

Browse files
authored
Merge pull request #131 from willmurnane/error-on-error
Exit with error status on error
2 parents b1fe50c + 907967e commit e6a79c5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

sidecar/cmd/main.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,6 @@ func main() {
4242

4343
if err := cmd.ExecuteContext(ctx); err != nil {
4444
klog.ErrorS(err, "Exiting on error")
45+
os.Exit(1)
4546
}
4647
}

0 commit comments

Comments
 (0)