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:
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