summaryrefslogtreecommitdiff
path: root/io.c
diff options
context:
space:
mode:
Diffstat (limited to 'io.c')
-rw-r--r--io.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/io.c b/io.c
index 0d8f489511..42d3530246 100644
--- a/io.c
+++ b/io.c
@@ -3399,7 +3399,7 @@ argf_eof()
int first = first_p;
if (!next_argv()) return Qtrue;
- if (!first && next_p == -1) {
+ if (next_p == 1) {
return Qtrue;
}
if (TYPE(current_file) != T_FILE) {