summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--caddy.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/caddy.go b/caddy.go
index 86935f8..d155092 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 {