Don't try other boot entries if one succeeds. This is the behavior before the change, thus reinstate it. Signed-off-by: Ahmad Fatoum <a.fatoum@xxxxxxxxxxxxxx> --- commands/boot.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/boot.c b/commands/boot.c index aeaba3992e1d..aaa20faae9d4 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); -- 2.25.0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox