fix
This commit is contained in:
parent
a01c3b2fdc
commit
d568ef94cd
3
main.go
3
main.go
@ -2,7 +2,6 @@ package main
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"err"
|
|
||||||
"flag"
|
"flag"
|
||||||
"fmt"
|
"fmt"
|
||||||
"log"
|
"log"
|
||||||
@ -53,7 +52,7 @@ func main() {
|
|||||||
// Parsing config
|
// Parsing config
|
||||||
flag.Parse()
|
flag.Parse()
|
||||||
|
|
||||||
err = gcfg.ReadFileInto(&cfg, *config)
|
err := gcfg.ReadFileInto(&cfg, *config)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
log.Fatalf("Failed to parse gcfg data: %s", err)
|
log.Fatalf("Failed to parse gcfg data: %s", err)
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user