Hello,
while I haven't tried the new scripting features myself it is my
impression that this is the intended behavior.
If I understood it correctly you're supposed to append '||' at the end
of the commands, if you don't want the script to abort:
imgfetch ${uuid}/foo.bar && goto :have_foo_bar ||
imgfetch foo.bar
:have_foo_bar
I could be totally wrong though.
Hope that helps
Thomas
On Fri, Dec 10, 2010 at 8:31 PM, Duane Voth <[email protected]> wrote:
>
> Michael,
> What should the double ampersand operator do in the following case?
> imgfetch ${uuid}/foo.bar && goto :have_foo_bar
> imgfetch foo.bar
> :have_foo_bar
> The goto only executes if the ${uuid}/foo.bar fetch succeeds, but the script
> aborts when this fetch fails. Is this the expected behavior?
> Duane
> ps. check your backlog again
> _______________________________________________
> ipxe-devel mailing list
> [email protected]
> https://lists.ipxe.org/mailman/listinfo/ipxe-devel
>
>
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo/ipxe-devel