3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-26 05:49:25 +01:00

Quiet mkcerts messages

This commit is contained in:
Daniel Oaks 2017-09-11 09:15:39 +10:00
parent 97010461f7
commit 8e32098f1f

View File

@ -94,7 +94,9 @@ Options:
} }
for name, conf := range config.Server.TLSListeners { for name, conf := range config.Server.TLSListeners {
log.Printf(" making cert for %s listener\n", name) if !arguments["--quiet"].(bool) {
log.Printf(" making cert for %s listener\n", name)
}
host := config.Server.Name host := config.Server.Name
err := mkcerts.CreateCert("Oragono", host, conf.Cert, conf.Key) err := mkcerts.CreateCert("Oragono", host, conf.Cert, conf.Key)
if err == nil { if err == nil {