summaryrefslogtreecommitdiff
path: root/src/core/libs/lib-ui-interactive.sh
diff options
context:
space:
mode:
authorMatthias Dienstbier <mdienstbier@googlemail.com>2010-03-24 18:43:01 +0100
committerMatthias Dienstbier <mdienstbier@googlemail.com>2010-03-24 18:43:01 +0100
commit447fc52078b7e9a78e1db3590161be16cec170a3 (patch)
treedc8cb857c79978980f509a0a86f3d5a498e2384b /src/core/libs/lib-ui-interactive.sh
parent47fbd4531a556e62be50b12f3376e73e9caaa4c7 (diff)
fix returns and exits in subshells
Diffstat (limited to 'src/core/libs/lib-ui-interactive.sh')
-rw-r--r--src/core/libs/lib-ui-interactive.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/libs/lib-ui-interactive.sh b/src/core/libs/lib-ui-interactive.sh
index 541ce23..239eab0 100644
--- a/src/core/libs/lib-ui-interactive.sh
+++ b/src/core/libs/lib-ui-interactive.sh
@@ -753,7 +753,7 @@ interactive_filesystems() {
interactive_select_packages() {
# set up our install location if necessary and sync up so we can get package lists
- target_prepare_pacman || ( show_warning 'Pacman preparation failure' "Pacman preparation failed! Check $LOG for errors." && return 1 )
+ target_prepare_pacman || { show_warning 'Pacman preparation failure' "Pacman preparation failed! Check $LOG for errors."; return 1; }
repos=`list_pacman_repos target`
notify "Package selection is split into two stages. First you will select package groups that contain packages you may be interested in. Then you will be presented with a full list of packages for each group, allowing you to fine-tune.\n\n