From mboxrd@z Thu Jan 1 00:00:00 1970 From: Heiko Schocher Date: Fri, 07 Sep 2012 13:14:14 +0200 Subject: [U-Boot] common, hush: bug (or feature?) with exit In-Reply-To: <5049D638.8000409@keymile.com> References: <5049C3A9.9060103@denx.de> <5049D638.8000409@keymile.com> Message-ID: <5049D706.8030903@denx.de> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hello Holger, On 07.09.2012 13:10, Holger Brunck wrote: > Hi Heiko, > > On 09/07/2012 11:51 AM, Heiko Schocher wrote: >> >> I try the following script in u-boot >> --------------------------------------------------------------------- >> setenv error 'if true; then >> echo **** ERROR **** >> exit; >> fi' >> > > don't know if it helps but AFAIK you need a semicolon to seperate the echo and > the exit command. Thanks, but that did not help :-( bye, Heiko -- DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany