mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-26 13:59:44 +01:00
Quiet mkcerts messages
This commit is contained in:
parent
97010461f7
commit
8e32098f1f
@ -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 {
|
||||||
|
Loading…
Reference in New Issue
Block a user