mirror of
https://github.com/vmstan/gravity-sync.git
synced 2025-07-07 10:14:04 -04:00
Clarified comment
This commit is contained in:
parent
64bf4a2a1d
commit
914af5cd1c
@ -10,7 +10,7 @@ REMOTE_USER='pi'
|
|||||||
|
|
||||||
# Password for REMOTE_USER account
|
# Password for REMOTE_USER account
|
||||||
# Requires SSHPASS installed on server
|
# Requires SSHPASS installed on server
|
||||||
# Leave blank to use key-pair SSH auth
|
|
||||||
# Less secure and possibly less reliable
|
# Less secure and possibly less reliable
|
||||||
|
# Leave blank to use (preferred) key-pair SSH auth!
|
||||||
|
|
||||||
REMOTE_PASS=''
|
REMOTE_PASS=''
|
@ -575,8 +575,6 @@ case $# in
|
|||||||
echo -en "${STAT} ${MESSAGE}"
|
echo -en "${STAT} ${MESSAGE}"
|
||||||
rm -f $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
rm -f $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
||||||
error_validate
|
error_validate
|
||||||
|
|
||||||
exit_withchange
|
|
||||||
;;
|
;;
|
||||||
|
|
||||||
No )
|
No )
|
||||||
@ -641,7 +639,7 @@ case $# in
|
|||||||
echo -e "${INFO} ${MESSAGE}"
|
echo -e "${INFO} ${MESSAGE}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $INPUT_REMOTE_PASS == '' ]
|
if [ $INPUT_REMOTE_PASS = '' ]
|
||||||
then
|
then
|
||||||
if [ -f $HOME/${SSH_PKIF} ]
|
if [ -f $HOME/${SSH_PKIF} ]
|
||||||
then
|
then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user