diff --git a/app/dns/fakedns/fake.go b/app/dns/fakedns/fake.go index e74ec76bd..f7b85cfae 100644 --- a/app/dns/fakedns/fake.go +++ b/app/dns/fakedns/fake.go @@ -198,8 +198,7 @@ func (h *HolderMulti) Start() error { func (h *HolderMulti) Close() error { for _, v := range h.holders { - err := v.Start() - if err != nil { + if err := v.Close(); err != nil { return newError("Cannot close all fake dns pools").Base(err) } }