summaryrefslogtreecommitdiffstats
path: root/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'main.go')
-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