summaryrefslogtreecommitdiffstats
path: root/ipa-client
diff options
context:
space:
mode:
Diffstat (limited to 'ipa-client')
-rw-r--r--ipa-client/ipaclient/ipadiscovery.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/ipa-client/ipaclient/ipadiscovery.py b/ipa-client/ipaclient/ipadiscovery.py
index e7c5830da..0df23eb97 100644
--- a/ipa-client/ipaclient/ipadiscovery.py
+++ b/ipa-client/ipaclient/ipadiscovery.py
@@ -185,7 +185,8 @@ class IPADiscovery:
try:
run(["/usr/bin/wget", "-O", "%s/ca.crt" % temp_ca_dir, "http://%s/ipa/config/ca.crt" % thost])
except CalledProcessError, e:
- raise RuntimeError('Retrieving CA from %s failed.\n%s' % (thost, str(e)))
+ logging.debug('Retrieving CA from %s failed.\n%s' % (thost, str(e)))
+ return []
#now verify the server is really an IPA server
try: