diff --git a/config/config.go b/config/config.go index d5d63db..def83d1 100644 --- a/config/config.go +++ b/config/config.go @@ -48,6 +48,7 @@ func ReadConfig() { if Flags.Version { fmt.Printf("gspt %s \nBuild Date: %s\n", Version, BuildDate) + os.Exit(0) } // If config path is provided through command-line use that