From 5ab9d6ba0a0df3f958e824b5c3ee44b1cc4558cf Mon Sep 17 00:00:00 2001 From: EricClaeys <83164203+EricClaeys@users.noreply.github.com> Date: Thu, 31 Mar 2022 11:16:16 -0500 Subject: [PATCH] Upload.sh: restore line This line should never have been removed. --- scripts/upload.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/upload.sh b/scripts/upload.sh index 7f47058ed..fbb7af22b 100755 --- a/scripts/upload.sh +++ b/scripts/upload.sh @@ -136,6 +136,7 @@ else # sftp/ftp/ftps LFTP_CMDS="${ALLSKY_TMP}/lftp_cmds.txt" set +H # This keeps "!!" from being processed in REMOTE_PASSWORD ( + [ "${LFTP_COMMANDS}" != "" ] && echo ${LFTP_COMMANDS} # xxx TODO: escape single quotes in REMOTE_PASSWORD so lftp doesn't fail - how? With \ ? P="${REMOTE_PASSWORD}"