change resolve to resolv

This commit is contained in:
0xdcarns
2022-01-05 15:17:28 -05:00
parent 9ded75d741
commit f43e5d9aff

View File

@@ -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"
}