1
0
mirror of https://github.com/Luzifer/gpxhydrant.git synced 2024-09-19 09:02:56 +00:00

Fix: Require OSM login

This commit is contained in:
Knut Ahlers 2016-05-07 14:56:37 +02:00
parent 94da651e3c
commit c59c4dfb79
Signed by: luzifer
GPG Key ID: DC2729FDD34BE99E

View File

@ -44,6 +44,10 @@ func init() {
if cfg.GPXFile == "" {
log.Fatalf("gpx-file is a required parameter")
}
if cfg.OSM.Password == "" || cfg.OSM.Username == "" {
log.Fatalf("osm-pass / osm-user are required parameters")
}
}
func main() {