hush: better comment. No code changes

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
Denys Vlasenko 2011-06-01 12:47:07 +02:00
parent 00ae989ee5
commit 56a3b82e96

View File

@ -7500,7 +7500,7 @@ static int run_list(struct pipe *pi)
/* Beware of "while false; true; do ..."! */
if (pi->next
&& (pi->next->res_word == RES_DO || pi->next->res_word == RES_DONE)
/* (the second check above is needed for "while ...; do \n done" case) */
/* check for RES_DONE is needed for "while ...; do \n done" case */
) {
if (rword == RES_WHILE) {
if (rcode) {