Code Review
/
src
/
xds
/
xds-agent.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Reset by default LD_LIBRARY_PATH in xds-project.conf
[src/xds/xds-agent.git]
/
lib
/
agent
/
projects.go
diff --git
a/lib/agent/projects.go
b/lib/agent/projects.go
index
0bd5315
..
d5f809f
100644
(file)
--- a/
lib/agent/projects.go
+++ b/
lib/agent/projects.go
@@
-169,6
+169,8
@@
func (p *Projects) Add(newP xaapiv1.ProjectConfig, fromSid, requestURL string) (
} else {
fd.WriteString("#export XDS_SDK_ID=???\n")
}
} else {
fd.WriteString("#export XDS_SDK_ID=???\n")
}
+ fd.WriteString("\n# Only disable reset of LD_LIBRARY_PATH if you are absolutely know what you are doing!\n")
+ fd.WriteString("export LD_LIBRARY_PATH=''\n")
fd.Close()
}
fd.Close()
}