diff --git a/functions.sh b/functions.sh index 64b5108..1ad716c 100644 --- a/functions.sh +++ b/functions.sh @@ -35,7 +35,7 @@ chroot_exec() { as_nobody() { # Exec command as user nobody - sudo -u nobody LANG=C LC_ALL=C $* + sudo -E -u nobody LANG=C LC_ALL=C $* } install_readonly() {