This commit is contained in:
shoopea 2019-05-03 12:40:43 +08:00
parent a01c3b2fdc
commit d568ef94cd

View File

@ -2,7 +2,6 @@ package main
import (
"encoding/json"
"err"
"flag"
"fmt"
"log"
@ -53,7 +52,7 @@ func main() {
// Parsing config
flag.Parse()
err = gcfg.ReadFileInto(&cfg, *config)
err := gcfg.ReadFileInto(&cfg, *config)
if err != nil {
log.Fatalf("Failed to parse gcfg data: %s", err)
}