Do not os.Exit() from test/benchmarks/harness.Harness.Init with no args.

PiperOrigin-RevId: 344896991
This commit is contained in:
Jamie Liu
2020-11-30 15:09:28 -08:00
committed by gVisor bot
parent e813008664
commit 786f32c2b1
+1 -1
View File
@@ -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)
}