提交 0efbc030 编写于 作者: C Cleber Rosa

Result Upload plugin: use rsync binary as found

The results *should* be the same without this change, but it
can lead to a different binary being used from the one that
was found previously.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
上级 cc133fe4
......@@ -84,7 +84,7 @@ class ResultUploadCLI(CLI):
def_ssh = ('ssh -oLogLevel=error -o stricthostkeychecking=no'
' -o userknownhostsfile=/dev/null'
' -o batchmode=yes -o passwordauthentication=no')
def_upload_cmd = 'rsync -arz -e \'%s \'' % def_ssh
def_upload_cmd = '%s -arz -e \'%s \'' % (rsync_bin, def_ssh)
except utils_path.CmdNotFoundError:
def_upload_cmd = None
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册