mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
Revert "M #-: Fix stdin processing in SshStreamCommand (#1043)"
This reverts commit 584f12a51770d30cd0f76350f276743905de46b8.
This commit is contained in:
parent
bfda3c77ff
commit
f2e90df506
@ -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