mirror of
https://github.com/netbirdio/gvisor.git
synced 2026-05-22 17:12:49 -07:00
Do not os.Exit() from test/benchmarks/harness.Harness.Init with no args.
PiperOrigin-RevId: 344896991
This commit is contained in:
@@ -39,7 +39,7 @@ func (h *Harness) Init() error {
|
||||
flag.PrintDefaults()
|
||||
}
|
||||
flag.Parse()
|
||||
if flag.NFlag() == 0 || *help {
|
||||
if *help {
|
||||
flag.Usage()
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user