mirror of
https://github.com/nmap/nmap.git
synced 2025-12-08 21:51:28 +00:00
Merge Nmap 7.96 release branch
This commit is contained in:
@@ -1527,6 +1527,9 @@ def excepthook(type, value, tb):
|
||||
sys.__excepthook__(type, value, tb)
|
||||
sys.exit(EXIT_ERROR)
|
||||
|
||||
if __name__ == "__main__":
|
||||
def run_main():
|
||||
sys.excepthook = excepthook
|
||||
sys.exit(main())
|
||||
|
||||
if __name__ == "__main__":
|
||||
run_main()
|
||||
|
||||
Reference in New Issue
Block a user