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 0217894..f6768c0 100644
--- a/caddy.go
+++ b/caddy.go
@@ -550,7 +550,7 @@ func finishSettingUp(ctx Context, cfg *Config) error {
return fmt.Errorf("loading dynamic config from %T: %v", val, err)
}
// do this in a goroutine so current config can finish being loaded; otherwise deadlock
- go runLoadedConfig(loadedConfig)
+ go func() { _ = runLoadedConfig(loadedConfig) }()
}
}