]> git.ipfire.org Git - thirdparty/grub.git/commit
docs: Clarify meaning of "list" and "cond" for "if" and "while" commands respectively
authorGlenn Washburn <development@efficientek.com>
Tue, 12 Apr 2022 16:56:19 +0000 (16:56 +0000)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 20 Apr 2022 16:29:01 +0000 (18:29 +0200)
commitf5e92d9fb4c0d754bc9c0b807300155d0d50a611
treebc56bb3281b94a2f7c418f404283a987a5c26da5
parenta4c3ca4474ce295f696e27778020a6e3b05c1be4
docs: Clarify meaning of "list" and "cond" for "if" and "while" commands respectively

It is not clear from the documentation what a "list" is in the context
of the "if" command. Note that its a list of simple commands separated
by a ";" and that only the exit status of the last command matters.
The same is true for the "cond" parameter to the "while" command.

Signed-off-by: Glenn Washburn <development@efficientek.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
docs/grub.texi