Permalink
Browse files

Do not remove the chroot if the user backs out

Set CLEAN_ARTIFACTS to false if the user aborts.
  • Loading branch information...
ttyS4 authored and cstamas committed Jun 7, 2012
1 parent 3f2420b commit 9102cb3dd4bcae6033e74c2a4a9b28bea438e833
Showing with 1 addition and 0 deletions.
  1. +1 −0 grml-live
View
@@ -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

0 comments on commit 9102cb3

Please sign in to comment.