From 081aa543d4b9ffcb0740dec34759f45373426541 Mon Sep 17 00:00:00 2001 From: Bernhard Landauer Date: Thu, 2 Mar 2017 04:13:48 +0100 Subject: [PATCH] re-apply @papajoker 's last commit - it got swallowed partially by my other big one ... ;) --- lib/util-menu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/util-menu.sh b/lib/util-menu.sh index df3e16e..adb1695 100644 --- a/lib/util-menu.sh +++ b/lib/util-menu.sh @@ -266,7 +266,7 @@ install_acc_menu() { # If something has been selected, install if [[ $(cat ${PACKAGES}) != "" ]]; then basestrap ${MOUNTPOINT} ${PACKAGES} 2>$ERR - check_for_error "$FUNCNAME" $? + check_for_error "$FUNCNAME" $? || return $? fi } @@ -342,7 +342,7 @@ edit_configs() { if [[ $FILE == "${MOUNTPOINT}/etc/mkinitcpio.conf" ]]; then dialog --backtitle "$VERSION - $SYSTEM ($ARCHI)" --yesno "${_MMRunMkinit}?" 0 0 && { run_mkinitcpio 2>$ERR - check_for_error "run_mkinitcpio" "$?" edit_configs + check_for_error "run_mkinitcpio" "$?" } fi else