From 7ae3559c0b2f220b6ed4a5ff23ab4f3910e66678 Mon Sep 17 00:00:00 2001 From: afeiszli Date: Wed, 20 Oct 2021 11:45:11 -0400 Subject: [PATCH] fixing netclient logs --- netclient/functions/join.go | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/netclient/functions/join.go b/netclient/functions/join.go index f483a74b..c24de8c1 100644 --- a/netclient/functions/join.go +++ b/netclient/functions/join.go @@ -82,20 +82,14 @@ func JoinNetwork(cfg config.ClientConfig, privateKey string) error { } } if ncutils.IsLinux() { - log.Println("deleteme looking for resolvectl") - path, err := exec.LookPath("resolvectl") + _, err := exec.LookPath("resolvectl") if err != nil { - log.Println("deleteme whoops its not there") ncutils.PrintLog("resolvectl not present",2) ncutils.PrintLog("unable to configure DNS automatically, disabling automated DNS management",2) cfg.Node.DNSOn = "no" - } else { - log.Println("nice we gucci") - log.Println("path -->", path) - } + } } - // differentiate between client/server here var node models.Node // fill this node with appropriate calls postnode := &models.Node{