fix logic error

This commit is contained in:
Septs 2016-11-10 13:01:14 +08:00
parent e22229b5b1
commit 19edd1d808

View File

@ -42,12 +42,12 @@ func init() {
if flag.NFlag() == 0 {
flag.PrintDefaults()
return
os.Exit(0)
}
if printVersion {
fmt.Fprintf(os.Stderr, "GOST %s (%s)\n", gost.Version, runtime.Version())
return
os.Exit(0)
}
}