From d29b6d04fbf3c7be47e52b794731275b4bedfc9b Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Thu, 2 Jan 2020 10:29:13 +0800 Subject: [PATCH] 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 --- scripts/bundle-libraries.sh | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2