aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
Diffstat (limited to 'shell')
-rw-r--r--shell/hush.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index c7971b0ce..1082738a2 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -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) {