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:
Taylor Santiago
2024-09-05 12:38:38 -07:00
parent a46053f612
commit c162dfac78

View File

@@ -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() {