diff options
author | Matthias Dienstbier <mdienstbier@googlemail.com> | 2009-07-21 10:42:02 +0200 |
---|---|---|
committer | Dieter Plaetinck <dieter@plaetinck.be> | 2009-07-21 10:42:02 +0200 |
commit | f8668b64c025dd2899d4b98f3a369b716dd30aa9 (patch) | |
tree | d31d4f85525de927a8b26a3c83db4af624f5bff2 /src/core/libs/lib-ui-interactive.sh | |
parent | 77f5f91892fb9cc98f321206230f321e6a057727 (diff) |
fix the dead cancel buttons of some menus
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r-- | src/core/libs/lib-ui-interactive.sh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |