diff options
| author | Elliott Hughes <enh@google.com> | 2015-11-03 14:31:46 -0800 |
|---|---|---|
| committer | Elliott Hughes <enh@google.com> | 2015-11-03 14:31:46 -0800 |
| commit | a372f6f24192f28e66b9e73885aca34839112a66 (patch) | |
| tree | 74bef1a983c0194aa9a94bf5fa4258251312b898 /base/errors_unix.cpp | |
| parent | 19d9454ee3c2c3c11272ec34cee0e263a621fd98 (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
