fix logical

master
fangdingjun 8 years ago
parent 6d563ff863
commit 6bb7601ef4

@ -39,7 +39,7 @@ func main() {
flag.Parse()
if configfile != "" {
if err := loadConfig(&cfg, configfile); err == nil {
if err := loadConfig(&cfg, configfile); err != nil {
log.Fatal(err)
}
}

Loading…
Cancel
Save