summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libbb/dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libbb/dump.c b/libbb/dump.c
index 8c2a370..9c16f1f 100644
--- a/libbb/dump.c
+++ b/libbb/dump.c
@@ -357,6 +357,7 @@ static NOINLINE int next(priv_dumper_t *dumper)
if (!freopen(fname, "r", stdin)) {
bb_simple_perror_msg(fname);
dumper->exitval = 1;
+ dumper->next__done = 1;
continue;
}
}