From: Lennart Poettering Date: Thu, 5 Nov 2020 14:49:15 +0000 (+0100) Subject: resolved: suppress misleading debug message about ignored resolv.conf line X-Git-Tag: v247-rc2~21^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=02c205359b7dfcb4501cab564218f21d0a0523f8;p=thirdparty%2Fsystemd.git resolved: suppress misleading debug message about ignored resolv.conf line --- diff --git a/src/resolve/resolved-resolv-conf.c b/src/resolve/resolved-resolv-conf.c index ba8f18f82d9..a26fe8393a5 100644 --- a/src/resolve/resolved-resolv-conf.c +++ b/src/resolve/resolved-resolv-conf.c @@ -156,6 +156,8 @@ int manager_read_resolv_conf(Manager *m) { r = manager_parse_search_domains_and_warn(m, a); if (r < 0) log_warning_errno(r, "Failed to parse search domain string '%s', ignoring.", a); + + continue; } log_syntax(NULL, LOG_DEBUG, "/etc/resolv.conf", n, 0, "Ignoring resolv.conf line: %s", l);