提交 78806d4d 编写于 作者: A Amador Pahim

remote: fix timeout check

The operator is inverted since the beginning of times and no one ever
noticed. Until now.
Signed-off-by: NAmador Pahim <apahim@redhat.com>
上级 d1503a1d
......@@ -104,7 +104,7 @@ def run(command, ignore_status=False, quiet=True, timeout=60):
except fabric.network.NetworkError as details:
fabric_exception = details
timeout = end_time - time.time()
if time.time() < end_time:
if time.time() > end_time:
break
if fabric_result is None:
if fabric_exception is not None:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册