diff --git a/commands/boot.c b/commands/boot.c index aeaba39..aaa20fa 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -97,7 +97,7 @@ bootentries_for_each_entry(entries, entry) { ret = boot_entry(entry, verbose, dryrun); if (!ret) - break; + goto out; } bootentries_free(entries);