From feacdba45daf4b824c93171bd9d95fbeed75121e Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 8 Jun 2012 01:48:09 +0200 Subject: [PATCH] Do not bailout (incl. cleanup) but just exit if user wants to quit There's no need to remove/unmount anything yet unless the user wants to really run the specified configuration. --- grml-live | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/grml-live b/grml-live index 75b1b6e..c443cd1 100755 --- a/grml-live +++ b/grml-live @@ -464,7 +464,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 -- 2.1.4