mirror of
https://github.com/caddyserver/caddy.git
synced 2025-06-23 15:31:40 -04:00
Merge pull request #321 from coolaj86/patch-1
add helpful suggestion to identify problem
This commit is contained in:
commit
96f04cdc38
@ -24,7 +24,7 @@ func init() {
|
|||||||
caddyfileMu.Lock()
|
caddyfileMu.Lock()
|
||||||
if caddyfile == nil {
|
if caddyfile == nil {
|
||||||
// Hmm, did spawing process forget to close stdin? Anyhow, this is unusual.
|
// 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()
|
caddyfileMu.Unlock()
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user