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
}