Browse Source

Merge pull request #579 from gravitl/bugfix_v0.9.3_resolvconf

change resolve to resolv
dcarns 3 years ago
parent
commit
2eacc02324
1 changed files with 2 additions and 2 deletions
  1. 2 2
      netclient/functions/join.go

+ 2 - 2
netclient/functions/join.go

@@ -83,9 +83,9 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error {
 		}
 	}
 	if ncutils.IsLinux() {
-		_, err := exec.LookPath("resolveconf")
+		_, err := exec.LookPath("resolvconf")
 		if err != nil {
-			ncutils.PrintLog("resolveconf not present", 2)
+			ncutils.PrintLog("resolvconf not present", 2)
 			ncutils.PrintLog("unable to configure DNS automatically, disabling automated DNS management", 2)
 			cfg.Node.DNSOn = "no"
 		}