label-tool: cleanup

This commit is contained in:
Přemysl Eric Janouch 2019-04-13 05:38:58 +02:00
parent fd347fa1eb
commit 3fe6d7d071
Signed by: p
GPG Key ID: A0420B94F92B9493
1 changed files with 3 additions and 3 deletions

View File

@ -217,10 +217,10 @@ func main() {
log.Fatalf("usage: %s ADDRESS BDF-FILE\n", os.Args[0])
}
address, bdf_path := os.Args[1], os.Args[2]
address, bdfPath := os.Args[1], os.Args[2]
var err error
fi, err := os.Open(bdf_path)
fi, err := os.Open(bdfPath)
if err != nil {
log.Fatalln(err)
}
@ -235,5 +235,5 @@ func main() {
log.Println("starting server")
http.HandleFunc("/", handle)
log.Fatal(http.ListenAndServe(address, nil))
log.Fatalln(http.ListenAndServe(address, nil))
}