]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/check.go
Ignore many errors
[nncp.git] / src / check.go
index 9bdc2864051ccd88537c622bba0520265000f13e..824f0c706558a5c4f0f8c81c2c63205a1a7a73d9 100644 (file)
@@ -48,7 +48,7 @@ func (ctx *Ctx) checkXxIsBad(nodeId *NodeId, xx TRxTx) bool {
                        "fullsize": job.Size,
                }
                gut, err := Check(job.Fd, job.HshValue[:], sds, ctx.ShowPrgrs)
-               job.Fd.Close()
+               job.Fd.Close() // #nosec G104
                if err != nil {
                        ctx.LogE("check", sds, err, "")
                        return true