]> Cypherpunks.ru repositories - nncp.git/blobdiff - src/cypherpunks.ru/nncp/cmd/nncp-cfgnew/main.go
Remote command execution
[nncp.git] / src / cypherpunks.ru / nncp / cmd / nncp-cfgnew / main.go
index eb1b9ace5c15f0b8197a0202f1a687300a7cad0f..a119e3830989d73de494f3d9741c53b8e3f28cfc 100644 (file)
@@ -70,7 +70,9 @@ func main() {
                                ExchPub:  nncp.ToBase32(nodeOur.ExchPub[:]),
                                SignPub:  nncp.ToBase32(nodeOur.SignPub[:]),
                                NoisePub: &noisePub,
-                               Sendmail: []string{nncp.DefaultSendmailPath},
+                               Exec: map[string][]string{
+                                       "sendmail": []string{nncp.DefaultSendmailPath},
+                               },
                        },
                },
                Spool: nncp.DefaultSpoolPath,