aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesús <heckyel@hyperbola.info>2021-07-16 16:40:32 -0500
committerJesús <heckyel@hyperbola.info>2021-07-16 16:40:32 -0500
commitc26d6ba30ebfad47d3c24e8068908bdbe98b3ae3 (patch)
tree6c521fe6f10a9aff72a72eb0895ffade179cbeaa
parent61eb458eb7553fc9bbc908a167b84c82e750562c (diff)
downloadhyperfi-c26d6ba30ebfad47d3c24e8068908bdbe98b3ae3.tar.lz
hyperfi-c26d6ba30ebfad47d3c24e8068908bdbe98b3ae3.tar.xz
hyperfi-c26d6ba30ebfad47d3c24e8068908bdbe98b3ae3.zip
fix variable not be assigned
-rw-r--r--hyperfi4
1 files changed, 2 insertions, 2 deletions
diff --git a/hyperfi b/hyperfi
index c7933c4..2a7ea72 100644
--- a/hyperfi
+++ b/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