Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

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.
  • Loading branch information...
commit 4e027c7e8e37512e54f4fa2241a8a9424fba3352 1 parent f69b317
Michael Prokop mika authored

Showing 1 changed file with 3 additions and 0 deletions. Show diff stats Hide diff stats

  1. +3 0  grml-live
3  grml-live
@@ -12,6 +12,9 @@
12 12 export LANG=C
13 13 export LC_ALL=C
14 14
  15 +# avoid leaking into chroots
  16 +unset TMPDIR
  17 +
15 18 # define function getfilesize before "set -e"
16 19 if stat --help >/dev/null 2>&1; then
17 20 getfilesize='stat -c %s' # GNU stat

0 comments on commit 4e027c7

Please sign in to comment.
Something went wrong with that request. Please try again.