feat: catch kill signals

This commit is contained in:
debugtalk
2022-11-29 23:34:56 +08:00
parent 9d474d895e
commit 8affbe2e9c
3 changed files with 24 additions and 26 deletions

View File

@@ -45,7 +45,6 @@ var rootCmd = &cobra.Command{
}
wc.Start()
wc.DumpResult()
return nil
},
}