Permalink
Browse files

Tidy up log message

  • Loading branch information...
1 parent 7d7305e commit aac460cf181e4ff4657acfef6863481d9ac894e5 @purcell committed Nov 6, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 bin/postfix-policy-whois
View
@@ -112,8 +112,8 @@ end
def dodgy?(domain)
$LOG.info("Checking domain: #{domain}")
tld, nameserver = tld_and_nameserver(domain)
- $LOG.info("Nameserver for #{tld} is #{nameserver}")
if tld
+ $LOG.info("Nameserver for #{tld} is #{nameserver}")
_, whois_server = DNS_TO_WHOIS_CHECKLIST.find { |k, v| v if nameserver =~ k }
if whois_server
dodgy_whois?(tld, whois_via(whois_server, tld))

0 comments on commit aac460c

Please sign in to comment.