From 3d22661def97ba52851d798e6795fd8f2460b61e Mon Sep 17 00:00:00 2001 From: Matthew Wild Date: Fri, 17 May 2013 14:55:05 +0100 Subject: prosodyctl: check dns: Correctly mark host as failed if expected SRV records are not found --- prosodyctl | 2 ++ 1 file changed, 2 insertions(+) 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 -- cgit v1.2.3