diff --git a/bpfmt/bpfmt.go b/bpfmt/bpfmt.go index c287ea2..4e6bd1e 100644 --- a/bpfmt/bpfmt.go +++ b/bpfmt/bpfmt.go @@ -141,7 +141,7 @@ func main() { if err := processReader("", os.Stdin, os.Stdout); err != nil { report(err) } - return + os.Exit(exitCode) } for i := 0; i < flag.NArg(); i++ {