]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cmd/nncp-bundle/main.go
Ability to forcefully override umask
[nncp.git] / src / cmd / nncp-bundle / main.go
index c8f87d81153c7e806ea8dde0d60cda4700f36e17..4f5bca1b9d72890c25f33bc6069626c48e4a9c7c 100644 (file)
@@ -102,6 +102,8 @@ func main() {
                nodeIds[*node.Id] = struct{}{}
        }
 
+       ctx.Umask()
+
        sds := nncp.SDS{}
        if *doTx {
                sds["xx"] = string(nncp.TTx)