aboutsummaryrefslogtreecommitdiff
path: root/src/or/dns.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index a8771f0237..122e60d1ba 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -1291,8 +1291,10 @@ configure_nameservers(int force)
eventdns_search_clear();
eventdns_clear_nameservers_and_suspend();
}
- if (eventdns_config_windows_nameservers())
+ if (eventdns_config_windows_nameservers()) {
+ log_warn(LD_EXIT,"Could not config nameservers.");
return -1;
+ }
if (eventdns_count_nameservers() == 0) {
log_warn(LD_EXIT, "Unable to find any platform nameservers in "
"your Windows configuration. Perhaps you should list a "