diff --git a/gravity-sync.sh b/gravity-sync.sh index 65c80e1..24965cd 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -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