Skip to content

Commit e0d0514

Browse files
bxenotimwr
authored andcommitted
relocate status output
1 parent 5631959 commit e0d0514

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

lib/msf/ui/console/driver.rb

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,9 +474,6 @@ def unknown_command(method, line)
474474
[method, method+".exe"].each do |cmd|
475475
if command_passthru && Rex::FileUtils.find_full_path(cmd)
476476

477-
print_status("exec: #{line}")
478-
print_line('')
479-
480477
self.busy = true
481478
begin
482479
run_unknown_command(line)
@@ -501,6 +498,8 @@ def unknown_command(method, line)
501498
end
502499

503500
def run_unknown_command(command)
501+
print_status("exec: #{command}")
502+
print_line('')
504503
system(command)
505504
end
506505

0 commit comments

Comments
 (0)