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:
parent
6211ffab43
commit
94da651e3c
1 changed files with 1 additions and 0 deletions
1
main.go
1
main.go
|
@ -38,6 +38,7 @@ func init() {
|
|||
|
||||
if cfg.VersionAndExit {
|
||||
fmt.Printf("gpxhydrant %s\n", version)
|
||||
os.Exit(0)
|
||||
}
|
||||
|
||||
if cfg.GPXFile == "" {
|
||||
|
|
Loading…
Reference in a new issue