mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Avoid handling BaseException, so SysExit and KeyboardInterrupt are propagated. #1834
This commit is contained in:
@@ -137,7 +137,7 @@ class RecentScans(object):
|
||||
|
||||
try:
|
||||
self.recent_scans_file = Path.recent_scans
|
||||
except:
|
||||
except Exception:
|
||||
self.recent_scans_file = False
|
||||
|
||||
if (self.recent_scans_file and
|
||||
|
||||
Reference in New Issue
Block a user