Update gravity-sync.sh

This commit is contained in:
Michael Stanclift 2020-05-24 21:17:17 -05:00
parent 7ab04ea424
commit 7ee691bda5

View File

@ -275,7 +275,7 @@ function validate_ph_folders {
function validate_os_sshpass {
if hash sshpass 2>/dev/null
then
if ${REMOTE_PASS} != ''
if [ ${REMOTE_PASS} != '' ]
then
sshpassword="sshpass -p ${REMOTE_PASS}"
else