Stefan Hajnoczi wrote:

This patch adds the following control flow commands:

  if <condition> <true-cmd>

  Execute <true-cmd> if <condition> is non-zero...


Thinking about this point again, and it goes for 'loopif' as well, do we wish to use zero or non-zero? If we ever have something akin to $(command), command's return code should be zero on success. I made an error in the last e-mail saying that this could stay as non-zero if we ever had $(command)-style support.

- Shao Miller
_______________________________________________
gPXE-devel mailing list
[email protected]
http://etherboot.org/mailman/listinfo/gpxe-devel

Reply via email to