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

add helpful suggestion to identify problem

This commit is contained in:
AJ ONeal 2015-11-05 12:39:17 -08:00
parent fc7f7dffa8
commit b963c7c9ac

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
}