VMTP returns 0 even with failed runs

Change-Id: Iaa53aba08ce3adfdc0d998ad2ba76d2ad94e4bff
This commit is contained in:
Yichen Wang 2019-01-24 14:54:33 -08:00
parent 40f5eaa576
commit aab20f7b12

View File

@ -1258,6 +1258,8 @@ def main():
run_vmtp(opts)
# If an exit occurs in run_vmtp such as printing version do not log run summary
run_summary_required = True
except SystemExit as e:
return_code = e.code
except Exception as e:
LOG.exception(e)
finally: