This commit is contained in:
Michael Stanclift 2020-07-08 21:00:03 -05:00
parent e10c202601
commit 49a9198a51

View File

@ -1017,7 +1017,7 @@ function detect_remotersync {
MESSAGE="Validating RSYNC Installed on ${REMOTE_HOST}"
echo_stat
REMOTERSYNC=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "hash rsync") >/dev/null 2>&1
REMOTERSYNC=$(${SSHPASSWORD} ${SSH_CMD} -p ${SSH_PORT} -i "$HOME/${SSH_PKIF}" ${REMOTE_USER}@${REMOTE_HOST} "hash rsync" | sed 's/\s.*$//')
if [ "${REMOTERSYNC}" == "" ]
then