From be99f9ae41604b3cd70a20b3fe5b66537f07a287 Mon Sep 17 00:00:00 2001 From: KemoNine Date: Sun, 6 Sep 2020 04:14:44 -0400 Subject: [PATCH] Fix GUI build --- cmd/gui/gui.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/gui/gui.go b/cmd/gui/gui.go index 9b05cf7..973757c 100644 --- a/cmd/gui/gui.go +++ b/cmd/gui/gui.go @@ -4,6 +4,7 @@ import ( "fmt" "log" "os" + "time" "github.com/knadh/koanf/providers/confmap" "github.com/knadh/koanf/providers/posflag" @@ -33,7 +34,7 @@ func main() { log.Print("Loading config") // Load the config file - pfConfig, _ := config.LoadConfig() + pfConfig, configFileProvider := config.LoadConfig() log.Printf("%v", pfConfig) pfConfig.Print()