diff options
-rw-r--r-- | commands/boot.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |