Declare return_code in main function

Change-Id: Iaa2e465ee58b187ee1200d38e5f39670833c3ff8
This commit is contained in:
Yichen Wang 2019-01-25 14:41:38 -08:00
parent aab20f7b12
commit 75a4fddd92
1 changed files with 1 additions and 0 deletions

View File

@ -1252,6 +1252,7 @@ def run_vmtp(opts):
def main():
run_summary_required = False
global return_code
try:
opts = parse_opts_from_cli()
log.setup('vmtp', debug=opts.debug, logfile=opts.logfile)