boot: Fix boot -m
We have to continue when bootentries_collect succeeds, not when it fails. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
This commit is contained in:
parent
636052ce1d
commit
429717b48c
|
@ -252,7 +252,7 @@ static void bootsources_menu(char *entries[], int num_entries)
|
||||||
}
|
}
|
||||||
|
|
||||||
blspec = bootentries_collect(entries, num_entries);
|
blspec = bootentries_collect(entries, num_entries);
|
||||||
if (blspec)
|
if (!blspec)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
entry_default = blspec_entry_default(blspec);
|
entry_default = blspec_entry_default(blspec);
|
||||||
|
|
Loading…
Reference in New Issue