commit | 35f5dcfd1cbe9912e49d16098c9b6d875d4f00bb | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Nov 03 14:31:46 2015 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Nov 03 14:31:46 2015 -0800 |
tree | 74bef1a983c0194aa9a94bf5fa4258251312b898 | |
parent | 385fc0213b36ca3b8dc1942a866c19c3f189c379 [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