This commit is contained in:
Michael Stanclift 2020-05-26 21:26:54 -05:00
parent 2204497da6
commit d2e390f1c8

View File

@ -500,7 +500,7 @@ function config_generate {
echo -e "${INFO} ${MESSAGE}" echo -e "${INFO} ${MESSAGE}"
fi fi
if [ $INPUT_REMOTE_PASS = '' ] if [ -z $INPUT_REMOTE_PASS ]
then then
if [ -f $HOME/${SSH_PKIF} ] if [ -f $HOME/${SSH_PKIF} ]
then then
@ -531,7 +531,7 @@ function config_generate {
source $HOME/${LOCAL_FOLDR}/${CONFIG_FILE} source $HOME/${LOCAL_FOLDR}/${CONFIG_FILE}
error_validate error_validate
if [ REMOTE_PASS == '' ] if [ -z $REMOTE_PASS ]
then then
if [ -f $HOME/${SSH_PKIF} ] if [ -f $HOME/${SSH_PKIF} ]
then then