Skip to content

Commit

Permalink
fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
aoliaoaoaojiao committed Jan 11, 2023
1 parent 4734f34 commit 371d95f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/perfmon.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var perfmonCmd = &cobra.Command{
pid, err := perfmonUtil.GetPidOnPackageName(device, packageName)
if err != nil {
fmt.Println("no corresponding application PID found")
pid = ""
os.Exit(0)
}
sig := make(chan os.Signal, 1)
signal.Notify(sig, os.Interrupt, os.Kill)
Expand Down

0 comments on commit 371d95f

Please sign in to comment.