From 05f9c4d3af5eee9ab7ddfee00f938df8eb9e735b Mon Sep 17 00:00:00 2001 From: Christian Goll Date: Mon, 15 Nov 2021 14:11:44 +0100 Subject: [PATCH] fix linter warning --- internal/app/wwclient/root.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/internal/app/wwclient/root.go b/internal/app/wwclient/root.go index fce1265c..9d9c8c21 100644 --- a/internal/app/wwclient/root.go +++ b/internal/app/wwclient/root.go @@ -202,8 +202,7 @@ func updateSystem(ipaddr string, port int, wwid string, tag string, localUUID uu func cleanUp() { err := os.Remove(PIDFile) if err != nil { - errors.New("could not remove pidfile") + log.Printf("could not remove pidfile: %s\n", err) } - Webclient.CloseIdleConnections() }