From: Csillag Tamas Date: Thu, 7 Jun 2012 22:31:28 +0000 (+0200) Subject: Do not remove the chroot if the user backs out X-Git-Tag: v0.19.4~5 X-Git-Url: https://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=9102cb3dd4bcae6033e74c2a4a9b28bea438e833;ds=sidebyside Do not remove the chroot if the user backs out Set CLEAN_ARTIFACTS to false if the user aborts. --- 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