mirror of
https://github.com/jtesta/ssh-audit.git
synced 2024-11-22 10:31:41 +01:00
17 lines
269 B
Python
17 lines
269 B
Python
import sys
|
|
import traceback
|
|
|
|
from ssh_audit.ssh_audit import main
|
|
from ssh_audit import exitcodes
|
|
|
|
|
|
exit_code = exitcodes.GOOD
|
|
|
|
try:
|
|
exit_code = main()
|
|
except Exception:
|
|
exit_code = exitcodes.UNKNOWN_ERROR
|
|
print(traceback.format_exc())
|
|
|
|
sys.exit(exit_code)
|