Merge "Make bpfmt use exit codes even when reading from stdin."

This commit is contained in:
Treehugger Robot 2021-02-18 22:10:22 +00:00 committed by Gerrit Code Review
commit 0335565677

View file

@ -141,7 +141,7 @@ func main() {
if err := processReader("<standard input>", os.Stdin, os.Stdout); err != nil {
report(err)
}
return
os.Exit(exitCode)
}
for i := 0; i < flag.NArg(); i++ {