[ipxe-devel] question about double amp

Duane Voth duanev at gmail.com
Fri Dec 10 19:31:03 UTC 2010


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ipxe.org/pipermail/ipxe-devel/attachments/20101210/4fe88644/attachment.htm>


More information about the ipxe-devel mailing list