fix: restore DNS during invalid-device uninstall

This commit is contained in:
Dev Scribe
2026-07-04 15:56:26 -04:00
committed by Cuong Manh Le
parent 5ef0a59081
commit 265573c744
10 changed files with 118 additions and 38 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ func (sc *ServiceCommand) Uninstall(cmd *cobra.Command, args []string) error {
p.cfg = &cfg
if iface == "" {
iface = "auto"
iface = autoIface
}
p.preRun()
if ir := runningIface(s); ir != nil {