hush: better comment. No code changes
authorDenys Vlasenko <vda.linux@googlemail.com>
Wed, 1 Jun 2011 10:47:07 +0000 (12:47 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 1 Jun 2011 10:47:07 +0000 (12:47 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
shell/hush.c

index c7971b0ce86ff344a1f13850d978965c19d2af9d..1082738a2ddcb43f843203dd83a1fe07afbfefc2 100644 (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) {