From mboxrd@z Thu Jan 1 00:00:00 1970 From: Holger Brunck Date: Fri, 07 Sep 2012 13:10:48 +0200 Subject: [U-Boot] common, hush: bug (or feature?) with exit In-Reply-To: <5049C3A9.9060103@denx.de> References: <5049C3A9.9060103@denx.de> Message-ID: <5049D638.8000409@keymile.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de 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. Regards Holger