su: do not change to home dir unless -l
authorPascal Bellard <pascal.bellard@ads-lu.com>
Tue, 12 Jun 2012 11:21:02 +0000 (13:21 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Tue, 12 Jun 2012 11:21:02 +0000 (13:21 +0200)
commit70fc8c17e2d032f34162f7abc3e65a67c0ff272a
treeb2a4b1b2f6d52b01056e4601aca1c676e7f0f80f
parent588e284f53da2dc5c58f3d1b9efacd6e9061baf1
su: do not change to home dir unless -l

Signed-off-by: Pascal Bellard <pascal.bellard@ads-lu.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
include/libbb.h
libbb/setup_environment.c
libbb/xfuncs_printf.c
loginutils/su.c
networking/httpd.c