Fixes #248. Catch empty returns from pgets
git-svn-id: file:///home/svn/framework3/trunk@5860 4d416f70-5f16-0410-b530-b9f4589650daunstable
parent
ecc853d453
commit
7367c2cbd4
|
@ -67,7 +67,7 @@ module Console::InteractiveChannel
|
|||
#
|
||||
def _stream_read_local_write_remote(channel)
|
||||
data = user_input.gets
|
||||
|
||||
return if not data
|
||||
self.write(data)
|
||||
end
|
||||
|
||||
|
@ -92,4 +92,4 @@ end
|
|||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue