提交 8bc65f6e 编写于 作者: C Cleber Rosa 提交者: clebergnu

Merge pull request #123 from clebergnu/multiplex_plugin_fix

multiplexer plugin: simple usability fix
......@@ -48,6 +48,11 @@ class Multiplexer(plugin.Plugin):
def multiplex(self, args):
bcolors = output.colors
pipe = output.get_paginator()
if not args.multiplex_file:
pipe.write(bcolors.fail_header_str('A multiplex file is required, aborting...'))
sys.exit(error_codes.numeric_status['AVOCADO_JOB_FAIL'])
multiplex_file = os.path.abspath(args.multiplex_file)
if not os.path.isfile(multiplex_file):
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册