mirror of
https://github.com/OpenNebula/one.git
synced 2026-11-20 20:02:38 +09:00
F #4716: pass timeout to wait function in SshStream
This commit is contained in:
1 parent
04d9cf8ed2
commit
d033bce570
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user