summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-11-07 19:36:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-11-07 19:36:50 +0100
commit5d5a611df2cfd8efa721866e3571e12a45c3b8d8 (patch)
treea9a7c4d297f79f4f334a84c2ac18b86977f62c6a
parent4224647c8d0990f8ffb17d8481655827161a94d4 (diff)
hush: comment fix
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--shell/hush.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/hush.c b/shell/hush.c
index a01db9c75..aa474afb2 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 {