mirror of
https://github.com/vmstan/gravity-sync.git
synced 2024-08-30 18:22:11 +00:00
-z
This commit is contained in:
parent
2204497da6
commit
d2e390f1c8
@ -500,7 +500,7 @@ function config_generate {
|
||||
echo -e "${INFO} ${MESSAGE}"
|
||||
fi
|
||||
|
||||
if [ $INPUT_REMOTE_PASS = '' ]
|
||||
if [ -z $INPUT_REMOTE_PASS ]
|
||||
then
|
||||
if [ -f $HOME/${SSH_PKIF} ]
|
||||
then
|
||||
@ -531,7 +531,7 @@ function config_generate {
|
||||
source $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
|
||||
error_validate
|
||||
|
||||
if [ REMOTE_PASS == '' ]
|
||||
if [ -z $REMOTE_PASS ]
|
||||
then
|
||||
if [ -f $HOME/${SSH_PKIF} ]
|
||||
then
|
||||
|
Loading…
Reference in New Issue
Block a user