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}" "")
|
options+=("${item}" "")
|
||||||
done
|
done
|
||||||
IFS=$IFS_ORIG
|
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" ]
|
if [ "$?" != "0" ]
|
||||||
then
|
then
|
||||||
return 1
|
return 1
|
||||||
@ -781,7 +781,7 @@ selectmirrorsbycountry() {
|
|||||||
options+=("${item}" "")
|
options+=("${item}" "")
|
||||||
done
|
done
|
||||||
IFS=$IFS_ORIG
|
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
|
if [ "$?" != "0" ]; then
|
||||||
return 1
|
return 1
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user