feat: exit gracefully

main
hau 2020-12-29 23:04:20 +07:00
parent 279ddecae0
commit 84cf09fc24
1 changed files with 0 additions and 3 deletions

View File

@ -102,10 +102,7 @@ func main() {
fmtErr := color.New(color.FgRed)
fmtErr.Printf("[%s error]: ", name)
fmt.Printf("%s\n", err.Error())
os.Exit(1)
}
os.Exit(0)
}
type action struct {