diff --git a/commands/boot.c b/commands/boot.c index a4dc6d7..ba26cac 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -252,7 +252,7 @@ } blspec = bootentries_collect(entries, num_entries); - if (blspec) + if (!blspec) return; entry_default = blspec_entry_default(blspec);