summaryrefslogtreecommitdiff
path: root/base/errors_unix.cpp
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2015-11-03 14:31:46 -0800
committerElliott Hughes <enh@google.com>2015-11-03 14:31:46 -0800
commita372f6f24192f28e66b9e73885aca34839112a66 (patch)
tree74bef1a983c0194aa9a94bf5fa4258251312b898 /base/errors_unix.cpp
parent19d9454ee3c2c3c11272ec34cee0e263a621fd98 (diff)
Fix the run-as environment to better match su.
$USER and $LOGNAME along with $HOME were just plain wrong (leading to a misleading interactive prompt), and it probably makes sense to reset the variables that su would reset. Bug: https://code.google.com/p/android/issues/detail?id=187438 Change-Id: I0404511453d371f36801f0212a8d72d93f0bc8ac
Diffstat (limited to 'base/errors_unix.cpp')
0 files changed, 0 insertions, 0 deletions