diff --git a/modules/auxiliary/scanner/misc/cisco_smart_install.rb b/modules/auxiliary/scanner/misc/cisco_smart_install.rb index c2c378bd77..a3e270acad 100644 --- a/modules/auxiliary/scanner/misc/cisco_smart_install.rb +++ b/modules/auxiliary/scanner/misc/cisco_smart_install.rb @@ -81,8 +81,8 @@ class MetasploitModule < Msf::Auxiliary print_status("Providing some time for transfers to complete...") ::IO.select(nil, nil, nil, 5.0) - print_status("Shutting down the TFTP service...") if @tftp + print_status("Shutting down the TFTP service...") @tftp.close rescue nil @tftp = nil end