projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
00ae989
)
hush: better comment. No code changes
author
Denys Vlasenko
<vda.linux@googlemail.com>
Wed, 1 Jun 2011 10:47:07 +0000
(12:47 +0200)
committer
Denys 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
patch
|
blob
|
history
diff --git
a/shell/hush.c
b/shell/hush.c
index c7971b0ce86ff344a1f13850d978965c19d2af9d..1082738a2ddcb43f843203dd83a1fe07afbfefc2 100644
(file)
--- 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) {