mirror of
https://github.com/nmap/nmap.git
synced 2025-12-07 21:21:31 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -552,7 +552,7 @@ class SearchDir(SearchResult, object):
|
||||
try:
|
||||
parsed = NmapParser()
|
||||
parsed.parse_file(scan_file)
|
||||
except:
|
||||
except Exception:
|
||||
pass
|
||||
else:
|
||||
self.scan_results.append(parsed)
|
||||
|
||||
Reference in New Issue
Block a user