config-gui.sh,gui-init: Fix whiptail message box sizes to 16 60

Signed-off-by: Jonathon Hall <jonathon.hall@puri.sm>
This commit is contained in:
Jonathon Hall
2023-06-21 15:36:04 -04:00
parent 89858f52a9
commit 71243c1a13
2 changed files with 27 additions and 25 deletions

View File

@ -605,7 +605,7 @@ force_unsafe_boot()
{
TRACE "Under /bin/gui-init:force_unsafe_boot"
if [ "$CONFIG_RESTRICTED_BOOT" = y ]; then
whiptail $BG_COLOR_ERROR --title 'ERROR: Restricted Boot Enabled' --msgbox "Restricted Boot is Enabled, forced boot not allowed.\n\nPress OK to return to the Main Menu" 0 80
whiptail $BG_COLOR_ERROR --title 'ERROR: Restricted Boot Enabled' --msgbox "Restricted Boot is Enabled, forced boot not allowed.\n\nPress OK to return to the Main Menu" 16 60
return
fi
# Run the menu selection in "force" mode, bypassing hash checks