From 7ee691bda5f24aead468594c02829c45443a7259 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Sun, 24 May 2020 21:17:17 -0500 Subject: [PATCH] Update gravity-sync.sh --- gravity-sync.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gravity-sync.sh b/gravity-sync.sh index a68a0cf..65c80e1 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