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

Holger Brunck holger.brunck at keymile.com
Fri Sep 7 13:10:48 CEST 2012


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




More information about the U-Boot mailing list