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