aboutsummaryrefslogtreecommitdiffstats
path: root/src/cat.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/cat.c')
-rw-r--r--src/cat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/cat.c b/src/cat.c
index 18fa1f150..bdc011017 100644
--- a/src/cat.c
+++ b/src/cat.c
@@ -333,7 +333,7 @@ cat (
input_pending = true;
#endif
- if (input_pending)
+ if (!input_pending)
write_pending (outbuf, &bpout);
/* Read more input into INBUF. */