]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/ctx.go
Raise copyright years
[nncp.git] / src / ctx.go
index 19c7b9c0177fb0e0abe86497f05ede78404d3719..645483d6805d132040b272a3db44632c41d7bec6 100644 (file)
@@ -1,6 +1,6 @@
 /*
 NNCP -- Node to Node copy, utilities for store-and-forward data exchange
-Copyright (C) 2016-2019 Sergey Matveev <stargrave@stargrave.org>
+Copyright (C) 2016-2021 Sergey Matveev <stargrave@stargrave.org>
 
 This program is free software: you can redistribute it and/or modify
 it under the terms of the GNU General Public License as published by
@@ -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(