oem-factory-reset: fix whiptail height/width order

This commit is contained in:
icequbes1 2021-11-23 12:37:09 -08:00 committed by tlaurion
parent fdbd9b2d48
commit b35e1bcbb3

View File

@ -51,7 +51,7 @@ whiptail_error()
if [ "$msg" = "" ]; then
die "whiptail error: An error msg is required"
fi
whiptail $BG_COLOR_ERROR --msgbox "${msg}\n\n" $WIDTH $HEIGHT $BG_COLOR_ERROR --title "Error"
whiptail $BG_COLOR_ERROR --msgbox "${msg}\n\n" $HEIGHT $WIDTH $BG_COLOR_ERROR --title "Error"
}
whiptail_error_die()
@ -516,6 +516,6 @@ whiptail --msgbox "
After rebooting, you will need to generate new TOTP/HOTP secrets\n
when prompted in order to complete the setup process.\n\n
Press Enter to reboot.\n" \
$WIDTH $HEIGHT --title "OEM Factory Reset Complete"
$HEIGHT $WIDTH --title "OEM Factory Reset Complete"
reboot