summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/custodian/protocoltest/dns.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/custodian/protocoltest/dns.rb b/lib/custodian/protocoltest/dns.rb
index d491633..65dfa2b 100644
--- a/lib/custodian/protocoltest/dns.rb
+++ b/lib/custodian/protocoltest/dns.rb
@@ -141,7 +141,7 @@ module Custodian
dns.getresources(name, Resolv::DNS::Resource::IN::MX).map{ |r| results.push Resolv.getaddresses(r.exchange.to_s()) }
else
@error = "Unknown record type to resolve: '#{ltype}'"
- return false
+ return nil
end
end
rescue Exception => x