* minor
This commit is contained in:
parent
94f3bf44d7
commit
2c91de73af
|
@ -262,8 +262,7 @@ func refreshFiltersIfNecessary(force bool) int {
|
||||||
if updateCount > 0 && isRunning {
|
if updateCount > 0 && isRunning {
|
||||||
err := reconfigureDNSServer()
|
err := reconfigureDNSServer()
|
||||||
if err != nil {
|
if err != nil {
|
||||||
msg := fmt.Sprintf("SHOULD NOT HAPPEN: cannot reconfigure DNS server with the new filters: %s", err)
|
log.Error("cannot reconfigure DNS server with the new filters: %s", err)
|
||||||
panic(msg)
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return updateCount
|
return updateCount
|
||||||
|
|
Loading…
Reference in New Issue