From 914af5cd1c5472bbd172a9711a65d4ca60d53b25 Mon Sep 17 00:00:00 2001 From: Michael Stanclift Date: Tue, 26 May 2020 21:11:15 -0500 Subject: [PATCH] Clarified comment --- gravity-sync.conf.example | 2 +- gravity-sync.sh | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/gravity-sync.conf.example b/gravity-sync.conf.example index d089a93..0f14754 100644 --- a/gravity-sync.conf.example +++ b/gravity-sync.conf.example @@ -10,7 +10,7 @@ REMOTE_USER='pi' # Password for REMOTE_USER account # Requires SSHPASS installed on server -# Leave blank to use key-pair SSH auth # Less secure and possibly less reliable +# Leave blank to use (preferred) key-pair SSH auth! REMOTE_PASS='' \ No newline at end of file diff --git a/gravity-sync.sh b/gravity-sync.sh index 68a033c..d4e11f2 100755 --- a/gravity-sync.sh +++ b/gravity-sync.sh @@ -575,8 +575,6 @@ case $# in echo -en "${STAT} ${MESSAGE}" rm -f $HOME/${LOCAL_FOLDR}/${CONFIG_FILE} error_validate - - exit_withchange ;; No ) @@ -641,7 +639,7 @@ case $# in echo -e "${INFO} ${MESSAGE}" fi - if [ $INPUT_REMOTE_PASS == '' ] + if [ $INPUT_REMOTE_PASS = '' ] then if [ -f $HOME/${SSH_PKIF} ] then