aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-05-17 14:55:05 +0100
committerMatthew Wild <mwild1@gmail.com>2013-05-17 14:55:05 +0100
commit3d22661def97ba52851d798e6795fd8f2460b61e (patch)
treea5582d8d2126133b4a2bfac7b04409a50e1b0b1a
parente082db3cf78c91b937a996cae2c71511df616e84 (diff)
downloadprosody-3d22661def97ba52851d798e6795fd8f2460b61e.tar.gz
prosody-3d22661def97ba52851d798e6795fd8f2460b61e.zip
prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
-rwxr-xr-xprosodyctl2
1 files changed, 2 insertions, 0 deletions
diff --git a/prosodyctl b/prosodyctl
index d3ba8932..11c6296b 100755
--- a/prosodyctl
+++ b/prosodyctl
@@ -879,6 +879,7 @@ function commands.check(arg)
else
if c2s_srv_required then
print(" No _xmpp-client SRV record found for "..host..", but it looks like you need one.");
+ all_targst_ok = false;
else
target_hosts:add(host);
end
@@ -895,6 +896,7 @@ function commands.check(arg)
else
if s2s_srv_required then
print(" No _xmpp-server SRV record found for "..host..", but it looks like you need one.");
+ all_targets_ok = false;
else
target_hosts:add(host);
end