mirror of
https://github.com/linuxboot/heads.git
synced 2024-12-20 05:28:08 +00:00
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 <jonathon.hall@puri.sm>
This commit is contained in:
parent
f1708bf3a7
commit
1217cffbc1
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user