From mboxrd@z Thu Jan 1 00:00:00 1970 From: Timo Ketola Date: Mon, 23 Apr 2012 10:37:14 +0300 Subject: [U-Boot] 'run' no longer aborts on an error, can someone please verify In-Reply-To: <4F94EBE4.6060203@exertus.fi> References: <20120421205158.67291204A81@gemini.denx.de> <4F932CEC.30808@gmail.com> <4F94EBE4.6060203@exertus.fi> Message-ID: <4F9506AA.4000604@exertus.fi> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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