mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Sed
This commit is contained in:
parent
e10c202601
commit
49a9198a51
@ -1017,7 +1017,7 @@ function detect_remotersync {
|
|||||||
MESSAGE="Validating RSYNC Installed on ${REMOTE_HOST}"
|
MESSAGE="Validating RSYNC Installed on ${REMOTE_HOST}"
|
||||||
echo_stat
|
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}" == "" ]
|
if [ "${REMOTERSYNC}" == "" ]
|
||||||
then
|
then
|
||||||
|
Loading…
Reference in New Issue
Block a user