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:
parent
a3030f2a01
commit
7ca88cd747
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user