fix: name not passed

master
Evan 2021-11-27 22:06:47 +08:00
parent 89c0a87118
commit 3ca2fe861f
1 changed files with 1 additions and 0 deletions

View File

@ -64,6 +64,7 @@ func main() {
mux := http.NewServeMux() mux := http.NewServeMux()
k := kconfig.New() k := kconfig.New()
k.AppName = flagAppName
if flagFile != "" { if flagFile != "" {
go func() { go func() {
fi, err := os.Stat(flagFile) fi, err := os.Stat(flagFile)