Finish run isn't fatal error
@@ -178,7 +178,9 @@ def main(cl_arguments):
if __name__ == '__main__':
try:
- sys.exit(main(sys.argv[1:]))
+ main(sys.argv[1:])
except:
# Make sure we log the trace for any crashes before exiting.
log.exception("Fatal error in main():")
+ sys.exit(1)
+ sys.exit(0)
