Skip to content
This repository was archived by the owner on Mar 25, 2025. It is now read-only.

Commit 283d07d

Browse files
fix exit bug
1 parent 5b2f64c commit 283d07d

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

cmd/perfmon.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -92,6 +92,7 @@ var perfmonCmd = &cobra.Command{
9292
select {
9393
case <-sig:
9494
exitChancel()
95+
os.Exit(0)
9596
case perfData, ok := <-perfDataChan:
9697
if ok {
9798
fmt.Println(util.Format(perfData, isFormat, isJson))

0 commit comments

Comments
 (0)