mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
Check for rsync too
This commit is contained in:
parent
cf80241c9e
commit
028fee30dd
@ -902,6 +902,20 @@ function detect_ssh {
|
|||||||
|
|
||||||
exit_nochange
|
exit_nochange
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
MESSAGE="Checking for RSYNC Client on $hostname"
|
||||||
|
echo_stat
|
||||||
|
|
||||||
|
if hash rsync 2>/dev/null
|
||||||
|
then
|
||||||
|
echo_good
|
||||||
|
else
|
||||||
|
echo_fail
|
||||||
|
MESSAGE="${PROGRAM} requires RSYNC be installed"
|
||||||
|
echo_info
|
||||||
|
|
||||||
|
exit_nochange
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
## Delete Existing Configuration
|
## Delete Existing Configuration
|
||||||
|
Loading…
Reference in New Issue
Block a user