From 9102cb3dd4bcae6033e74c2a4a9b28bea438e833 Mon Sep 17 00:00:00 2001 From: Csillag Tamas Date: Fri, 8 Jun 2012 00:31:28 +0200 Subject: [PATCH] Do not remove the chroot if the user backs out Set CLEAN_ARTIFACTS to false if the user aborts. --- grml-live | 1 + 1 file changed, 1 insertion(+) diff --git a/grml-live b/grml-live index 9f2add8..75b1b6e 100755 --- a/grml-live +++ b/grml-live @@ -463,6 +463,7 @@ if [ -z "$FORCE" ] ; then echo -n "Is this ok for you? [y/N] " read a if ! [ "$a" = 'y' -o "$a" = 'Y' ] ; then + CLEAN_ARTIFACTS=0 bailout 1 "Exiting as requested." fi echo -- 2.1.4