Skip to content

Commit

Permalink
fix(main): Return error code after executing main
Browse files Browse the repository at this point in the history
Signed-off-by: Cezar Craciunoiu <[email protected]>
  • Loading branch information
craciunoiuc committed Jan 9, 2024
1 parent 078048f commit f8aab8f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/governctl/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,5 +97,5 @@ func main() {
ctx = iostreams.WithIOStreams(ctx, iostreams.System())

// Execute the main command
cmdfactory.Main(ctx, cmd)
os.Exit(cmdfactory.Main(ctx, cmd))
}

0 comments on commit f8aab8f

Please sign in to comment.