diff options
-rw-r--r-- | src/resolve/resolved-dns-search-domain.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resolve/resolved-dns-search-domain.c b/src/resolve/resolved-dns-search-domain.c index 0cc50d6478..bcbb2754d7 100644 --- a/src/resolve/resolved-dns-search-domain.c +++ b/src/resolve/resolved-dns-search-domain.c @@ -166,7 +166,7 @@ bool dns_search_domain_unlink_marked(DnsSearchDomain *first) { } else changed = false; - return changed || dns_search_domain_unlink_marked(next); + return dns_search_domain_unlink_marked(next) || changed; } void dns_search_domain_mark_all(DnsSearchDomain *first) { |