When there are multiple bootsources barebox should try booting them until one succeeds. This is broken because we bail out of the iteration loop with a goto. Remove the goto to fix this. Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx> --- commands/boot.c | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/boot.c b/commands/boot.c index 4a83979..468d473 100644 --- a/commands/boot.c +++ b/commands/boot.c @@ -446,7 +446,6 @@ static int do_boot(int argc, char *argv[]) ret = boot(sources[i]); if (!ret) break; - goto out; } out: -- 2.0.0.rc0 _______________________________________________ barebox mailing list barebox@xxxxxxxxxxxxxxxxxxx http://lists.infradead.org/mailman/listinfo/barebox