0
Fork 0
mirror of https://github.com/caddyserver/caddy.git synced 2024-12-23 22:27:38 -05:00

Merge pull request #321 from coolaj86/patch-1

add helpful suggestion to identify problem
This commit is contained in:
Matt Holt 2015-11-05 13:46:58 -07:00
commit 96f04cdc38

View file

@ -24,7 +24,7 @@ func init() {
caddyfileMu.Lock()
if caddyfile == nil {
// Hmm, did spawing process forget to close stdin? Anyhow, this is unusual.
log.Println("[ERROR] SIGUSR1: no caddyfile to reload")
log.Println("[ERROR] SIGUSR1: no caddyfile to reload (was stdin left open?)")
caddyfileMu.Unlock()
continue
}