1
mirror of https://github.com/rapid7/metasploit-framework synced 2024-11-12 11:52:01 +01:00

fix to call interact with correct args

git-svn-id: file:///home/svn/framework3/trunk@4446 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
Matt Miller 2007-02-20 05:41:51 +00:00
parent a3030f2a01
commit 7ca88cd747

View File

@ -74,8 +74,7 @@ class Console
def interact_with_channel(channel)
channel.extend(InteractiveChannel) unless (channel.kind_of?(InteractiveChannel) == true)
channel.init_ui(input, output)
channel.interact
channel.interact(input, output)
channel.reset_ui
end