Skip to content

Commit c02a05f

Browse files
committed
Removed code that was already commented out
1 parent 1225a93 commit c02a05f

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

modules/auxiliary/scanner/misc/clamav_control.rb

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,6 @@ def run_host(_ip)
4848
connect
4949
sock.put(action.name + "\n")
5050
print_good(sock.get_once)
51-
# rescue Rex::ConnectionRefused
52-
# ilog("Connection Refused")
53-
# rescue Rex::ConnectionTimeout
54-
# ilog("Connection Timeout")
55-
# rescue Rex::HostUnreachable
56-
# ilog("Host Unreachable")
5751
rescue EOFError
5852
print_good('Successfully shut down ClamAV Service')
5953
ensure

0 commit comments

Comments
 (0)