summaryrefslogtreecommitdiffstats
path: root/match.c
diff options
context:
space:
mode:
Diffstat (limited to 'match.c')
-rw-r--r--match.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/match.c b/match.c
index f5e7c1c8..a2bc8eb3 100644
--- a/match.c
+++ b/match.c
@@ -2180,7 +2180,7 @@ static val v_output(match_files_ctx c, match_files_ctx *cout)
if (existing) {
if (append) {
- *cdr_l(existing) = append2(cdr(existing), list_out);
+ *cdr_l(existing) = append2(flatten(cdr(existing)), list_out);
} else {
*cdr_l(existing) = list_out;
}