fixed missing arg in fmt.Fprintf
This commit is contained in:
parent
daefb15f3d
commit
de9b299d2f
2
main.go
2
main.go
@ -31,7 +31,7 @@ func init() {
|
|||||||
func main() {
|
func main() {
|
||||||
cfg, err := stdn.GetConfig()
|
cfg, err := stdn.GetConfig()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Fprintf(os.Stderr, "error: %v\n")
|
fmt.Fprintf(os.Stderr, "error: %v\n", err)
|
||||||
os.Exit(1)
|
os.Exit(1)
|
||||||
}
|
}
|
||||||
if len(cfg.Servers) <= 0 {
|
if len(cfg.Servers) <= 0 {
|
||||||
|
Loading…
Reference in New Issue
Block a user