From f8668b64c025dd2899d4b98f3a369b716dd30aa9 Mon Sep 17 00:00:00 2001 From: Matthias Dienstbier Date: Tue, 21 Jul 2009 10:42:02 +0200 Subject: fix the dead cancel buttons of some menus --- src/core/libs/lib-ui-interactive.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/libs/lib-ui-interactive.sh') diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh index 63e2a87..712f1ac 100644 --- a/src/core/libs/lib-ui-interactive.sh +++ b/src/core/libs/lib-ui-interactive.sh @@ -123,7 +123,7 @@ interactive_time () { type ntpdate &>/dev/null && EXTRA=('ntp' 'Set time and date using ntp') ask_option $default "Date/time configuration" "According to your settings and your hardwareclock, the date should now be $current. If this is incorrect, you can correct this now" required \ - "${EXTRA[@]}" "manual" "Set time and date manually" "return" "Looks good. back to main menu" + "${EXTRA[@]}" "manual" "Set time and date manually" "return" "Looks good. back to main menu" || return 1 if [ "$ANSWER_OPTION" = ntp ] then if ntpdate pool.ntp.org >/dev/null @@ -1038,7 +1038,7 @@ select_source_extras_menu () ask_option no "FTP Installation" "Make sure the network is ok and you've selected a mirror before continuing the installer" required \ "1" "$worker_runtime_network_title" \ "2" "$worker_select_mirror_title" \ - "3" "Return to Main Menu" + "3" "Return to Main Menu" || return 1 [ "$ANSWER_OPTION" = 1 ] && execute worker runtime_network [ "$ANSWER_OPTION" = 2 ] && execute worker select_mirror [ "$ANSWER_OPTION" = 3 ] && break -- cgit v1.2.3-54-g00ecf