From: Michael Prokop Date: Thu, 7 Jun 2012 23:48:09 +0000 (+0200) Subject: Do not bailout (incl. cleanup) but just exit if user wants to quit X-Git-Tag: v0.19.4~4 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=feacdba45daf4b824c93171bd9d95fbeed75121e 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. --- 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