From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stefan Herbrechtsmeier Date: Wed, 21 May 2014 15:12:10 +0200 Subject: [U-Boot] Script with 'if run' don't work as expected Message-ID: <537CA62A.8050301@herbrechtsmeier.net> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, a script with 'if run' don't work as expect. I have test it on an omap3_overo board. The following script always prints true: setenv testcmd false; if run testcmd; then echo "true"; fi; This could be fixed by reverting commit 1992dbfdb9886c3dfc4a505091895c851f736f3a: Make 'run' use run_command_list() instead of run_command() Kind regards, Stefan