diff options
author | Ron Yorston <rmy@pobox.com> | 2014-12-11 21:37:43 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2014-12-11 21:37:43 +0000 |
commit | f8077fbe6831018338dae29077a21d4b06ba7e85 (patch) | |
tree | 597c2c906ff4f3cacd79a93c72f5526cb99acd3e /init | |
parent | 70c80aefd34a8a1526a813d6d5a831b88b24245f (diff) | |
download | busybox-w32-f8077fbe6831018338dae29077a21d4b06ba7e85.tar.gz busybox-w32-f8077fbe6831018338dae29077a21d4b06ba7e85.tar.bz2 busybox-w32-f8077fbe6831018338dae29077a21d4b06ba7e85.zip |
sh: don't overwrite login environment variables if already set
Certain environment variables (HOME, LOGNAME, USER, SHELL) are set
during early shell startup to emulate what login/su would do on
UNIX. If any of these are already set don't overwrite them.
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions