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:
parent
04d9cf8ed2
commit
d033bce570
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user