From b35e1bcbb3cb067e3bc47159c892c22467775e95 Mon Sep 17 00:00:00 2001 From: icequbes1 <71958531+icequbes1@users.noreply.github.com> Date: Tue, 23 Nov 2021 12:37:09 -0800 Subject: [PATCH] oem-factory-reset: fix whiptail height/width order --- initrd/bin/oem-factory-reset | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initrd/bin/oem-factory-reset b/initrd/bin/oem-factory-reset index 05ca69ca..e39eef68 100755 --- a/initrd/bin/oem-factory-reset +++ b/initrd/bin/oem-factory-reset @@ -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