[U-Boot] common, hush: bug (or feature?) with exit

Heiko Schocher hs at denx.de
Fri Sep 7 13:14:14 CEST 2012


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


More information about the U-Boot mailing list