summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-21 23:25:38 +0200
committerSebastien Douheret <sebastien.douheret@iot.bzh>2017-08-21 23:25:38 +0200
commit88af0d2f2fd483029d1b4789248f58a214855d85 (patch)
treeaef541a9e1fdf58b0b36dcd18d8d186e041fb1ed
parente8634ea0918a1f89267226e0edbbe00f58841459 (diff)
Fix bug when load config file.
-rw-r--r--main.go2
1 files changed, 1 insertions, 1 deletions
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