Undo filtering of HOME environment variable.
It an cause 'nonexistent' user errors in the sandbox. Bug: 363037195 Change-Id: I5e17fa62029ba9bcd2422fa9aebef95223c68c0d
This commit is contained in:
@@ -351,9 +351,6 @@ func NewConfig(ctx Context, args ...string) Config {
|
|||||||
|
|
||||||
// Use config.useN2 instead.
|
// Use config.useN2 instead.
|
||||||
"SOONG_USE_N2",
|
"SOONG_USE_N2",
|
||||||
|
|
||||||
// Leaks usernames into environment.
|
|
||||||
"HOME",
|
|
||||||
)
|
)
|
||||||
|
|
||||||
if ret.UseGoma() || ret.ForceUseGoma() {
|
if ret.UseGoma() || ret.ForceUseGoma() {
|
||||||
|
Reference in New Issue
Block a user