summaryrefslogtreecommitdiffstats
path: root/src/ssh_audit/__main__.py
blob: 9ae64fad0247ed697a87d5e297b6f03389cc0ad8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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)