From 88af0d2f2fd483029d1b4789248f58a214855d85 Mon Sep 17 00:00:00 2001 From: Sebastien Douheret Date: Mon, 21 Aug 2017 23:25:38 +0200 Subject: [PATCH] Fix bug when load config file. --- main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.go b/main.go index 01b46c9..1ada40e 100644 --- a/main.go +++ b/main.go @@ -487,7 +487,7 @@ func loadConfigEnvFile(confFile, gdbCmdFile string) (map[string]string, string, path.Join(curDir, "../../target"), path.Join(u.HomeDir, ".xds"), } { - confFile := path.Join(d, xdsEnvFile) + confFile = path.Join(d, xdsEnvFile) logEarly("Search config in %s", confFile) if common.Exists(confFile) { break -- 2.16.6