[U-Boot] 'run' no longer aborts on an error, can someone please verify

Timo Ketola timo at exertus.fi
Mon Apr 23 09:37:14 CEST 2012


Hi again,

On 23.04.2012 08:43, Timo Ketola wrote:
...
> I took a quick glance over command/main.c....

common/main.c, of course

> 1341                 rc = cmd_process(flag, argc, argv, &repeatable);

This might fix it:

-		rc = cmd_process(flag, argc, argv, &repeatable);
+		if (cmd_process(flag, argc, argv, &repeatable))
+			rc = -1;

--

Timo


More information about the U-Boot mailing list