Skip to content

Commit

Permalink
Removed code that was already commented out
Browse files Browse the repository at this point in the history
  • Loading branch information
bwatters-r7 committed Jun 17, 2016
1 parent 1225a93 commit c02a05f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions modules/auxiliary/scanner/misc/clamav_control.rb
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,6 @@ def run_host(_ip)
connect
sock.put(action.name + "\n")
print_good(sock.get_once)
# rescue Rex::ConnectionRefused
# ilog("Connection Refused")
# rescue Rex::ConnectionTimeout
# ilog("Connection Timeout")
# rescue Rex::HostUnreachable
# ilog("Host Unreachable")
rescue EOFError
print_good('Successfully shut down ClamAV Service')
ensure
Expand Down

0 comments on commit c02a05f

Please sign in to comment.