feat: better error handling for sys kill signals
This commit is contained in:
1 parent
21ad653b7e
commit
1582b8b2cd
28 files changed
+876
-361
No files matched your search
+2
-8
@@ -1,12 +1,6 @@
|
||||
package cmd
|
||||
|
||||
import (
|
||||
"log"
|
||||
)
|
||||
|
||||
// Execute executes the commands.
|
||||
func Execute() {
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
log.Fatal(err)
|
||||
}
|
||||
func Execute() error {
|
||||
return rootCmd.Execute()
|
||||
}
|
||||
Reference in new issue
Block a user