From 429717b48ccf3b56c3dd508513618763e2001b15 Mon Sep 17 00:00:00 2001 From: Sascha Hauer Date: Thu, 19 Jun 2014 09:43:01 +0200 Subject: boot: Fix boot -m We have to continue when bootentries_collect succeeds, not when it fails. Signed-off-by: Sascha Hauer --- commands/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'commands/boot.c') diff --git a/commands/boot.c b/commands/boot.c index a4dc6d76f7..ba26cac986 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -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); -- cgit v1.2.3