9
0
Fork 0

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:
Sascha Hauer 2014-06-19 09:43:01 +02:00
parent 636052ce1d
commit 429717b48c
1 changed files with 1 additions and 1 deletions

View File

@ -252,7 +252,7 @@ static void bootsources_menu(char *entries[], int num_entries)
}
blspec = bootentries_collect(entries, num_entries);
if (blspec)
if (!blspec)
return;
entry_default = blspec_entry_default(blspec);