summaryrefslogtreecommitdiff
path: root/shell/hush.c
diff options
context:
space:
mode:
Diffstat (limited to 'shell/hush.c')
-rw-r--r--shell/hush.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/shell/hush.c b/shell/hush.c
index 4c6647bba..a87d45757 100644
--- a/shell/hush.c
+++ b/shell/hush.c
@@ -5963,7 +5963,6 @@ static struct pipe *parse_stream(char **pstring,
* "case ... in <newline> PATTERN) ..."
*/
if (IS_NULL_CMD(ctx.command)
- && IS_NULL_WORD(ctx.word)
&& heredoc_cnt == 0
) {
/* This newline can be ignored. But...