summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--commands/boot.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/boot.c b/commands/boot.c
index aeaba3992e..aaa20faae9 100644
--- a/commands/boot.c
+++ b/commands/boot.c
@@ -97,7 +97,7 @@ static int do_boot(int argc, char *argv[])
bootentries_for_each_entry(entries, entry) {
ret = boot_entry(entry, verbose, dryrun);
if (!ret)
- break;
+ goto out;
}
bootentries_free(entries);