aboutsummaryrefslogtreecommitdiff
path: root/core/sigtrap_posix.go
diff options
context:
space:
mode:
authorGravatar Miek Gieben <miek@miek.nl> 2016-04-09 22:53:39 +0100
committerGravatar Miek Gieben <miek@miek.nl> 2016-04-09 22:53:39 +0100
commitdb98cd4e4bced5a383ae2914f438617bcea28f73 (patch)
tree8cd82c3f36358548e002e21099717ef054b03996 /core/sigtrap_posix.go
parent49f994fa805f354b32669dcf4455b915a814c1f0 (diff)
downloadcoredns-db98cd4e4bced5a383ae2914f438617bcea28f73.tar.gz
coredns-db98cd4e4bced5a383ae2914f438617bcea28f73.tar.zst
coredns-db98cd4e4bced5a383ae2914f438617bcea28f73.zip
Use *dns.Server (#99)
This does not fix the reload issue, but will give us flexibility to access the packetConn and listener to make this all work.
Diffstat (limited to 'core/sigtrap_posix.go')
-rw-r--r--core/sigtrap_posix.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/sigtrap_posix.go b/core/sigtrap_posix.go
index ba24ff4b6..5ba5fcd1b 100644
--- a/core/sigtrap_posix.go
+++ b/core/sigtrap_posix.go
@@ -53,7 +53,7 @@ func trapSignalsPosix() {
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 (was stdin left open?)")
+ log.Println("[ERROR] SIGUSR1: no Corefile to reload (was stdin left open?)")
caddyfileMu.Unlock()
continue
}