From ecc3ffe1e278418e7df4b7249bee3ea577c541f2 Mon Sep 17 00:00:00 2001 From: Bram Matthys Date: Sat, 21 Aug 2021 16:04:28 +0200 Subject: [PATCH] Parse error in remote include must be a fatal error. It is now (again). --- src/conf.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/conf.c b/src/conf.c index fb0424e18..0a2118a4b 100644 --- a/src/conf.c +++ b/src/conf.c @@ -10695,7 +10695,8 @@ void resource_download_complete(const char *url, const char *file, const char *e { if (rs->type & RESOURCE_INCLUDE) { - config_read_file(rs->file, rs->url); + if (config_read_file(rs->file, rs->url) < 0) + loop.config_load_failed = 1; } else { ConfigEntryWrapper *wce; for (wce = rs->wce; wce; wce = wce->next)