lib/net/ssh/proxy/command.rb in net-ssh-6.2.0.rc2 vs lib/net/ssh/proxy/command.rb in net-ssh-6.3.0.beta1
- old
+ new
@@ -3,11 +3,10 @@
require 'net/ssh/proxy/errors'
module Net
module SSH
module Proxy
-
# An implementation of a command proxy. To use it, instantiate it,
# then pass the instantiated object via the :proxy key to
# Net::SSH.start:
#
# require 'net/ssh/proxy/command'
@@ -103,9 +102,10 @@
rescue IO::WaitReadable, Errno::EINTR
timeout_in_seconds = 20
if IO.select([self], nil, [self], timeout_in_seconds) == nil
raise "Unexpected spurious read wakeup"
end
+
retry
end
result
end
end