From: Yousong Zhou Date: Thu, 2 Jan 2020 02:29:13 +0000 (+0800) Subject: scripts: bundle-libraries: runas: also unset LD_PRELOAD X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d29b6d04fbf3c7be47e52b794731275b4bedfc9b;p=openwrt%2Fstaging%2Fyousong.git scripts: bundle-libraries: runas: also unset LD_PRELOAD This is needed for situations like after chroot where the runas.so can not be found Signed-off-by: Yousong Zhou --- diff --git a/scripts/bundle-libraries.sh b/scripts/bundle-libraries.sh index 9efcbbd0b2..e110ef3090 100755 --- a/scripts/bundle-libraries.sh +++ b/scripts/bundle-libraries.sh @@ -84,6 +84,7 @@ _runas_so() { unsetenv("RUNAS_ARG0"); } + unsetenv("LD_PRELOAD"); return 0; }