]> git.ipfire.org Git - thirdparty/systemd.git/commit
resolved: don't clear the server list too eagerly
authorLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:15:28 +0000 (00:15 +0100)
committerLennart Poettering <lennart@poettering.net>
Thu, 26 Nov 2015 23:46:51 +0000 (00:46 +0100)
commitbf7fabd6000fd95495904ed55db62caf361b3d8f
tree7027bb6693e042cd6c6d63da85db69b0ab7a2894
parent8a7a7e971e97830fd722fb73ef87f7180180cc27
resolved: don't clear the server list too eagerly

If /etc/resolv.conf is missing, this should not result in the server
list to be cleared, after all the native data from resolved.conf
shouldn't be flushed out then. Hence flush out the data only if
/etc/resolv.conf exists, but we cannot read it for some reason.
src/resolve/resolved-resolv-conf.c