mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 12:41:29 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -313,7 +313,7 @@ class ScriptInterface:
|
||||
def script_list_timer_callback(self, process, callback):
|
||||
try:
|
||||
status = process.scan_state()
|
||||
except:
|
||||
except Exception:
|
||||
status = None
|
||||
log.debug("Script interface: script_list_timer_callback %s" %
|
||||
repr(status))
|
||||
|
||||
Reference in New Issue
Block a user