Use exit(0) when printing version

This commit is contained in:
Dan Sosedoff
2014-10-27 15:49:43 -05:00
parent 8c11713a5a
commit 01acd9a90e

View File

@@ -77,7 +77,7 @@ func initOptions() {
if options.Version {
fmt.Printf("pgweb v%s\n", VERSION)
os.Exit(1)
os.Exit(0)
}
}