fix variable not be assigned
This commit is contained in:
parent
61eb458eb7
commit
c26d6ba30e
4
hyperfi
4
hyperfi
@ -179,7 +179,7 @@ selectdisk(){
|
||||
options+=("${item}" "")
|
||||
done
|
||||
IFS=$IFS_ORIG
|
||||
result=$(whiptail --backtitle "${APPTITLE}" --title "${1}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||
result=$(whiptail --backtitle "${apptitle}" --title "${1}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||
if [ "$?" != "0" ]
|
||||
then
|
||||
return 1
|
||||
@ -781,7 +781,7 @@ selectmirrorsbycountry() {
|
||||
options+=("${item}" "")
|
||||
done
|
||||
IFS=$IFS_ORIG
|
||||
country=$(whiptail --backtitle "${APPTITLE}" --title "${txtselectcountry}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||
country=$(whiptail --backtitle "${apptitle}" --title "${txtselectcountry}" --menu "" 0 0 0 "${options[@]}" 3>&1 1>&2 2>&3)
|
||||
if [ "$?" != "0" ]; then
|
||||
return 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user