summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDieter Plaetinck <dieter@plaetinck.be>2008-12-10 21:18:52 +0100
committerDieter Plaetinck <dieter@plaetinck.be>2008-12-10 21:18:52 +0100
commit34e5ea918eef5a4910e7211c087186edf7c690e9 (patch)
tree503223881592f68751e12845e0b3cd5e57f33f4c /src
parent1a1204ecf636c663f868b125140ec88065615303 (diff)
return 1 if user cancels
Diffstat (limited to 'src')
-rw-r--r--src/core/libs/lib-ui-interactive.sh4
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 4433eeb..f247f41 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -749,7 +749,7 @@ EOF
}
-# select_source(). taken from setup. TODO: decouple ui
+# select_source(). taken from setup.
# displays installation source selection menu
# and sets up relevant config files
#
@@ -764,7 +764,7 @@ interactive_select_source()
ask_option no "Please select an installation source" \
"1" "CD-ROM or OTHER SOURCE" \
- "2" "FTP/HTTP"
+ "2" "FTP/HTTP" || return 1
case $ANSWER_OPTION in
"1") var_PKG_SOURCE_TYPE="cd" ;;