mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-23 22:50:09 +03:00
Revert "M #-: Fix stdin processing in SshStreamCommand (#1043)"
This reverts commit 02736a1d85f1e20067100fc35dfac1084511065d.
This commit is contained in:
parent
16ff61ca03
commit
ed686cfc87
@ -221,11 +221,7 @@ class SshStreamCommand < RemotesCommand
|
||||
end
|
||||
|
||||
@stream.exec(command)
|
||||
|
||||
if stdin
|
||||
@stream.stdin.write(stdin)
|
||||
@stream.stdin.close
|
||||
end
|
||||
@stream.stdin.write(stdin) if stdin
|
||||
|
||||
@code = @stream.wait_for_command(@timeout)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user