hush: fix a bug where we were requiring semicolon here: (cmd;)

also fix a bug where after error prompt is not shown.

function                                             old     new   delta
parse_stream                                        1612    1638     +26
parse_and_run_stream                                 361     375     +14
------------------------------------------------------------------------------
(add/remove: 0/0 grow/shrink: 2/0 up/down: 40/0)               Total: 40 bytes
This commit is contained in:
Denis Vlasenko
2008-06-14 17:13:20 +00:00
parent dd316dd283
commit f8d01d3f66
4 changed files with 34 additions and 22 deletions

View File

@@ -0,0 +1,2 @@
(while true; do exit; done)
echo OK: $?