Revert "Replace cdn.debian.net with http.debian.net"
[grml-live.git] / grml-live
index 75b1b6e..45b93e6 100755 (executable)
--- 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
@@ -464,7 +467,8 @@ if [ -z "$FORCE" ] ; then
    read a
    if ! [ "$a" = 'y' -o "$a" = 'Y' ] ; then
       CLEAN_ARTIFACTS=0
-      bailout 1 "Exiting as requested."
+      echo "Exiting as requested."
+      exit 0
    fi
    echo
 fi