F #4716: pass timeout to wait function in SshStream

This commit is contained in:
Javi Fontan committed 2016-09-12 18:24:02 +02:00
1 parent 04d9cf8ed2
commit d033bce570
1 file changed
+1 -1
+1 -1
View File
@@ -210,7 +210,7 @@ class SshStreamCommand < RemotesCommand
@stream.exec(command)
@stream.stdin.write(stdin) if stdin
@code = @stream.wait_for_command
@code = @stream.wait_for_command(@timeout)
@stdout = @stream.out
@stderr = @stream.err