##// END OF EJS Templates
Fix: preserve user environment when using sudo (function as_nobody)
drtyhlpr -
r178:fc1f49f4b604
parent child
Show More
@@ -35,7 +35,7 chroot_exec() {
35 35
36 36 as_nobody() {
37 37 # Exec command as user nobody
38 sudo -u nobody LANG=C LC_ALL=C $*
38 sudo -E -u nobody LANG=C LC_ALL=C $*
39 39 }
40 40
41 41 install_readonly() {
General Comments 0
Vous devez vous connecter pour laisser un commentaire. Se connecter maintenant