fix linter warning

This commit is contained in:
Christian Goll
2021-11-15 14:11:44 +01:00
parent e0ab4e47f4
commit 05f9c4d3af

View File

@@ -202,8 +202,7 @@ func updateSystem(ipaddr string, port int, wwid string, tag string, localUUID uu
func cleanUp() { func cleanUp() {
err := os.Remove(PIDFile) err := os.Remove(PIDFile)
if err != nil { if err != nil {
errors.New("could not remove pidfile") log.Printf("could not remove pidfile: %s\n", err)
} }
Webclient.CloseIdleConnections()
} }