X-Git-Url: https://iankelling.org/git/?p=distro-setup;a=blobdiff_plain;f=fixvpndns;fp=fixvpndns;h=d33797ad7426e746d6cc23c12bb29ba5d45cf482;hp=a97b2bd1489633cba0bb7b3dbb3503bbac6a384f;hb=d67edcdca8795a4bca116aa532d02dda246a6f53;hpb=a9e3d60b4254cd5c6216c4b3e7f8cd5cc5107fad diff --git a/fixvpndns b/fixvpndns index a97b2bd..d33797a 100755 --- a/fixvpndns +++ b/fixvpndns @@ -16,5 +16,5 @@ if ! resolvectl dnsovertls tunfsf &>/dev/null; then # resolvectl dnsovertls tunfsf ||: exit 0 fi -read _ link _ < <(resolvectl dnsovertls tunfsf) +read -r _ link _ < <(resolvectl dnsovertls tunfsf) busctl call org.freedesktop.resolve1 /org/freedesktop/resolve1 org.freedesktop.resolve1.Manager SetLinkDNSOverTLS is $link no