From: Michael Prokop Date: Wed, 13 Jun 2012 15:52:30 +0000 (+0200) Subject: Unset TMPDIR to avoid leaking the variable into chroot scripts X-Git-Tag: v0.19.5~6 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=4e027c7e8e37512e54f4fa2241a8a9424fba3352 Unset TMPDIR to avoid leaking the variable into chroot scripts We've reports that with TMPDIR being set the FAI scripts fail inside the chroot, so let's avoid that. --- diff --git a/grml-live b/grml-live index c443cd1..45b93e6 100755 --- a/grml-live +++ b/grml-live @@ -12,6 +12,9 @@ export LANG=C export LC_ALL=C +# avoid leaking into chroots +unset TMPDIR + # define function getfilesize before "set -e" if stat --help >/dev/null 2>&1; then getfilesize='stat -c %s' # GNU stat