]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[cmdline] Allow ";" as an unconditional command separator
authorMichael Brown <mcb30@ipxe.org>
Mon, 28 Mar 2011 15:32:30 +0000 (16:32 +0100)
committerMichael Brown <mcb30@ipxe.org>
Mon, 28 Mar 2011 15:32:30 +0000 (16:32 +0100)
commit1f4c5f90c3274d4c287d493ed03194a2253d327e
tree3f37c848c1840ed61eba529b812e3fc6172d4322
parent914dc6bfa987ec92feca039b1db1533aa473b2f1
[cmdline] Allow ";" as an unconditional command separator

It is currently possible to construct a sequence of commands to be
executed regardless of success or failure using "|| &&" as the command
separator.  (The "||" captures the failure case, the blank command
converts it to a success case.)

Allow ";" to be used as a more visually appealing (and
space-efficient) alternative.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/core/exec.c