1
0
Fork 0
mirror of https://github.com/Luzifer/gpxhydrant.git synced 2024-11-08 15:30:00 +00:00

Fix: Exit after version string has been printed

This commit is contained in:
Knut Ahlers 2016-05-07 14:55:13 +02:00
parent 6211ffab43
commit 94da651e3c
Signed by: luzifer
GPG key ID: DC2729FDD34BE99E

View file

@ -38,6 +38,7 @@ func init() {
if cfg.VersionAndExit {
fmt.Printf("gpxhydrant %s\n", version)
os.Exit(0)
}
if cfg.GPXFile == "" {