diff --git a/caddy.go b/caddy.go index 86935f81..d1550922 100644 --- a/caddy.go +++ b/caddy.go @@ -442,7 +442,7 @@ func run(newCfg *Config, start bool) error { // Start err = func() error { - var started []string + started := make([]string, 0, len(newCfg.apps)) for name, a := range newCfg.apps { err := a.Start() if err != nil {