summary refs log tree commit diff stats
path: root/svc/init.go
diff options
context:
space:
mode:
Diffstat (limited to 'svc/init.go')
-rw-r--r--svc/init.go7
1 files changed, 5 insertions, 2 deletions
diff --git a/svc/init.go b/svc/init.go
index 18fe0b6..9e4c418 100644
--- a/svc/init.go
+++ b/svc/init.go
@@ -18,7 +18,7 @@ import (
 	"github.com/syndtr/goleveldb/leveldb"
 )
 
-const getwtxt = "0.2.2"
+const getwtxt = "0.3.0"
 
 var (
 	flagVersion  *bool   = pflag.BoolP("version", "v", false, "Display version information, then exit.")
@@ -57,7 +57,10 @@ var staticCache = &struct {
 	cssMod:   time.Time{},
 }
 
-func init() {
+// I'm not using init() because it runs
+// even during testing and was causing
+// problems.
+func initSvc() {
 	checkFlags()
 	titleScreen()
 	initConfig()