]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/ctx.go
Ignore many errors
[nncp.git] / src / ctx.go
index c1625a1dc5642e8a6427fec5b8bc6a9a60066af2..91969302a2ab101edb045390fbac20e0ee93da5a 100644 (file)
@@ -73,8 +73,7 @@ func (ctx *Ctx) ensureRxDir(nodeId *NodeId) error {
                ctx.LogE("dir-ensure", SDS{"dir": dirPath}, err, "")
                return err
        }
-       fd.Close()
-       return nil
+       return fd.Close()
 }
 
 func CtxFromCmdline(