Clean up shutdown messaging

MS-2855/keylogger-mettle-extension
Jon Hart 2017-11-21 17:55:17 -08:00
parent 93c424c255
commit 5a358db260
No known key found for this signature in database
GPG Key ID: 2FA9F0A3AFA8E9D3
1 changed files with 1 additions and 1 deletions

View File

@ -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