1
0
Fork 0
mirror of https://github.com/Luzifer/gpxhydrant.git synced 2024-12-22 12:11:17 +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 == "" {