start sanitizing the environment with chroot() and don't pass on TMPDIR
This commit is contained in:
parent
6f8bb8c977
commit
84b0b5061b
1 changed files with 1 additions and 1 deletions
|
@ -1377,7 +1377,7 @@ sub setup {
|
|||
|
||||
# make sure that APT_CONFIG is not set when executing anything inside the
|
||||
# chroot
|
||||
my @chrootcmd = ('env', '--unset=APT_CONFIG');
|
||||
my @chrootcmd = ('env', '--unset=APT_CONFIG', '--unset=TMPDIR');
|
||||
if ($options->{mode} eq 'proot') {
|
||||
push @chrootcmd, (
|
||||
'proot',
|
||||
|
|
Loading…
Reference in a new issue