diff --git a/cmd/serve/dlna/dlna.go b/cmd/serve/dlna/dlna.go index 19db02f16..934316635 100644 --- a/cmd/serve/dlna/dlna.go +++ b/cmd/serve/dlna/dlna.go @@ -303,7 +303,7 @@ func (s *server) Serve() (err error) { go func() { fs.Logf(s.f, "Serving HTTP on %s", s.HTTPConn.Addr().String()) - err = s.serveHTTP() + err := s.serveHTTP() if err != nil { fs.Logf(s.f, "Error on serving HTTP server: %v", err) }