From 1217cffbc158ce6e411454acdb3890c5557c572c Mon Sep 17 00:00:00 2001 From: Jonathon Hall Date: Sat, 25 Mar 2023 17:06:47 -0400 Subject: [PATCH] kexec-select-boot: Fix errant continue This isn't in a loop, continue makes no sense. ash had silently ignored it. Proceeding to the do_boot below is the correct behavior. Signed-off-by: Jonathon Hall --- initrd/bin/kexec-select-boot | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/initrd/bin/kexec-select-boot b/initrd/bin/kexec-select-boot index ae9dbbc5..e58c7e59 100755 --- a/initrd/bin/kexec-select-boot +++ b/initrd/bin/kexec-select-boot @@ -292,8 +292,8 @@ user_select() { if [ "$option_confirm" = "d" ]; then if [ ! -r "$TMP_KEY_DEVICES" ]; then - # rerun primary boot loop to boot the new default option - continue + # continue below to boot the new default option + true else echo "+++ Rebooting to start the new default option" sleep 2