summaryrefslogtreecommitdiff
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-07 18:36:50 (GMT)
committer Denys Vlasenko <vda.linux@googlemail.com>2016-11-07 18:36:50 (GMT)
commit5d5a611df2cfd8efa721866e3571e12a45c3b8d8 (patch)
treea9a7c4d297f79f4f334a84c2ac18b86977f62c6a
parent4224647c8d0990f8ffb17d8481655827161a94d4 (diff)
downloadbusybox-5d5a611df2cfd8efa721866e3571e12a45c3b8d8.zip
busybox-5d5a611df2cfd8efa721866e3571e12a45c3b8d8.tar.gz
busybox-5d5a611df2cfd8efa721866e3571e12a45c3b8d8.tar.bz2
hush: comment fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index a01db9c..aa474af 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -5009,8 +5009,8 @@ static struct pipe *parse_stream(char **pstring,
* Run it from interactive shell, watch pmap `pidof hush`.
* while if false; then false; fi; do break; fi
* Samples to catch leaks at execution:
- * while if (true | {true;}); then echo ok; fi; do break; done
- * while if (true | {true;}); then echo ok; fi; do (if echo ok; break; then :; fi) | cat; break; done
+ * while if (true | { true;}); then echo ok; fi; do break; done
+ * while if (true | { true;}); then echo ok; fi; do (if echo ok; break; then :; fi) | cat; break; done
*/
pctx = &ctx;
do {