summaryrefslogtreecommitdiffstats
path: root/fern.go
diff options
context:
space:
mode:
Diffstat (limited to 'fern.go')
-rw-r--r--fern.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/fern.go b/fern.go
index 0da251e..5d3f3d2 100644
--- a/fern.go
+++ b/fern.go
@@ -18,12 +18,14 @@ var pState *state.ProcessState
func init() {
var err error
+ // Get fern config.
fConf, err = config.Read()
if err != nil {
fmt.Printf("Error: %v\n", err.Error())
os.Exit(1)
}
+ // Initialize process state.
pState = state.NewProcessState()
// Open database.