1
0
mirror of https://github.com/OpenNebula/one.git synced 2025-03-22 18:50:08 +03:00

F #4716: pass timeout to wait function in SshStream

This commit is contained in:
Javi Fontan 2016-09-12 18:23:25 +02:00
parent 04d9cf8ed2
commit d033bce570

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