summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-ui-interactive.sh
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2010-12-09 10:26:47 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2010-12-09 10:26:47 +0100
commitc9b9f86c9debc4564b354cbdc29daa9ccaa71169 (patch)
tree74114572de0538cba933ef2a206c2555abc12e3e /src/core/libs/lib-ui-interactive.sh
parent2ee11ef334983fc68352364025ba5a97d795b95e (diff)
When user hits cancel in "Manage filesystems", we should return to "Prepare Harddrive", not start processing
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r--src/core/libs/lib-ui-interactive.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 5be0bb0..eae4029 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -609,8 +609,9 @@ interactive_filesystems() {
menu_list="$menu_list $part $infostring" #don't add extra spaces, dialog doesn't like that.
done < $TMP_BLOCKDEVICES
- ask_option no "Manage filesystems" "Here you can manage your filesystems, block devices and virtual devices (device mapper). Note that you don't *need* to specify opts, labels or extra params if you're not using lvm, dm_crypt, etc." required $menu_list DONE _
- [ $? -gt 0 ] && USERHAPPY=1 && break
+ ask_option no "Manage filesystems" "Here you can manage your filesystems, block devices and virtual devices (device mapper). \
+ Note that you don't *need* to specify opts, labels or extra params if you're not using lvm, dm_crypt, etc." required $menu_list DONE _
+ [ $? -gt 0 ] && return 1
[ "$ANSWER_OPTION" == DONE ] && USERHAPPY=1 && break
part=$ANSWER_OPTION