Skip to content

Commit 5a358db

Browse files
committed
Clean up shutdown messaging
1 parent 93c424c commit 5a358db

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/scanner/misc/cisco_smart_install.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,8 +81,8 @@ def cleanup
8181
print_status("Providing some time for transfers to complete...")
8282
::IO.select(nil, nil, nil, 5.0)
8383

84-
print_status("Shutting down the TFTP service...")
8584
if @tftp
85+
print_status("Shutting down the TFTP service...")
8686
@tftp.close rescue nil
8787
@tftp = nil
8888
end

0 commit comments

Comments
 (0)