summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/match.c b/match.c
index e4e7b119..562e1dfd 100644
--- a/match.c
+++ b/match.c
@@ -3859,16 +3859,16 @@ static void open_data_source(match_files_ctx *c)
debuglf(spec, lit("opening data source ~a"), name, nao);
if (complex_open_failed(fp)) {
- if (consp(source_spec) && car(source_spec) == nothrow_k) {
+ if (consp(source_spec) && car(source_spec) == nothrow_k)
debuglf(spec, lit("could not open ~a: "
"treating as failed match due to nothrow"), name, nao);
- debug_return (nil);
- } else if (errno != 0)
+ else if (errno != 0)
file_err(spec, lit("could not open ~a (error ~a/~a)"), name,
num(errno), string_utf8(strerror(errno)), nao);
else
file_err(spec, lit("could not open ~a"), name, nao);
- debug_return (nil);
+ c->data = nil;
+ return;
}
c->files = cons(name, cdr(c->files)); /* Get rid of cons and nothrow */