fix removal of --menu from commit ba054b15c3740228ba3e327c3442a9f7594a9fe8

This commit is contained in:
Thierry Laurion 2022-04-13 11:14:36 -04:00
parent 1dd03d0361
commit 4e5f781be3
No known key found for this signature in database
GPG Key ID: E7B4A71658E36A93

View File

@ -137,7 +137,7 @@ confirm_menu_option() {
default_text="Make default"
[[ "$CONFIG_TPM_NO_LUKS_DISK_UNLOCK" = "y" ]] && default_text="${default_text} and boot"
whiptail $BG_COLOR_WARNING --clear --title "Confirm boot details" \
Confirm the boot details for $name:\n\n$(echo $kernel| fold -s -w 80) \n\n" 20 120 8 \
--menu "Confirm the boot details for $name:\n\n$(echo $kernel| fold -s -w 80) \n\n" 20 120 8 \
-- 'd' "${default_text}" 'y' "Boot one time" \
2>/tmp/whiptail || die "Aborting boot attempt"