minor alerts improvements
[distro-setup] / fixvpndns
index 30e07255a443e1720f2a08348a520e8a14504ed2..0619293aa181e2e6f259248a49966c79800ac436 100755 (executable)
--- a/fixvpndns
+++ b/fixvpndns
@@ -11,8 +11,9 @@ esac
 
 
 if ! resolvectl dnsovertls tunfsf &>/dev/null; then
-  echo failed resolvectl dnsovertls tunfsf. rerunning:
-  resolvectl dnsovertls tunfsf
+  ## most likely the interface doesnt exist. if we wanted verbose output, then:
+  # echo failed resolvectl dnsovertls tunfsf. rerunning:
+  # resolvectl dnsovertls tunfsf ||:
   exit 0
 fi
 read _ link _ < <(resolvectl dnsovertls tunfsf)