]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-bundle/main.go
exec notification, freq.maxsize, paxed directories
[nncp.git] / src / cmd / nncp-bundle / main.go
index cdeef4fe071d18812fedd79f6af9f87a2fb5e512..380b3917e7e5706253a0cecbd43a4fbc416aac13 100644 (file)
@@ -32,8 +32,8 @@ import (
        "strconv"
        "strings"
 
-       "github.com/davecgh/go-xdr/xdr2"
-       "go.cypherpunks.ru/nncp/v4"
+       xdr "github.com/davecgh/go-xdr/xdr2"
+       "go.cypherpunks.ru/nncp/v5"
        "golang.org/x/crypto/blake2b"
 )
 
@@ -102,6 +102,8 @@ func main() {
                nodeIds[*node.Id] = struct{}{}
        }
 
+       ctx.Umask()
+
        sds := nncp.SDS{}
        if *doTx {
                sds["xx"] = string(nncp.TTx)