diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-05-17 14:55:05 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-05-17 14:55:05 +0100 |
commit | 0f010d14552c9ae4c3a8cfe17f913cb0b745d927 (patch) | |
tree | a5582d8d2126133b4a2bfac7b04409a50e1b0b1a /prosodyctl | |
parent | 0fa89e6a22c699d1bb3133e8cc998fa981d1daf6 (diff) | |
download | prosody-0f010d14552c9ae4c3a8cfe17f913cb0b745d927.tar.gz prosody-0f010d14552c9ae4c3a8cfe17f913cb0b745d927.zip |
prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found
Diffstat (limited to 'prosodyctl')
-rwxr-xr-x | prosodyctl | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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 |