mirror of
https://github.com/rapid7/metasploit-framework
synced 2024-10-09 04:26:11 +02:00
Eliminate error on Ctrl+C for webcam script. See #3663.
git-svn-id: file:///home/svn/framework3/trunk@11719 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
parent
02e11ec338
commit
953630aa80
@ -117,7 +117,7 @@ begin
|
||||
end
|
||||
print_line("[*] Stopping webcam")
|
||||
client.webcam.webcam_stop
|
||||
sock.close
|
||||
sock.close if sock != nil
|
||||
rescue ::Exception => e
|
||||
print_error("Error: #{e.class} #{e} #{e.backtrace}")
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user