summaryrefslogtreecommitdiffstats
path: root/lib/puppet/network/xmlrpc/client.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/puppet/network/xmlrpc/client.rb')
-rw-r--r--lib/puppet/network/xmlrpc/client.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/puppet/network/xmlrpc/client.rb b/lib/puppet/network/xmlrpc/client.rb
index e19275759..2bf30e729 100644
--- a/lib/puppet/network/xmlrpc/client.rb
+++ b/lib/puppet/network/xmlrpc/client.rb
@@ -196,11 +196,9 @@ module Puppet::Network
end
def start
- begin
@http.start unless @http.started?
- rescue => detail
+ rescue => detail
Puppet.err "Could not connect to server: #{detail}"
- end
end
def local