From 240863647f5ceb0f6713e34ee0bb2c6c0fffc09b Mon Sep 17 00:00:00 2001 From: Sebastian Hugentobler Date: Sun, 31 Dec 2023 16:36:42 +0100 Subject: [PATCH] typo in sftp host env var --- entrypoint.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/entrypoint.sh b/entrypoint.sh index 613467e..6d6dad0 100644 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -1,4 +1,4 @@ #!/bin/sh -set -e +set -ex -lftp -e "set sftp:auto-confirm yes; open -p $INPUT_SFTP_PORT -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $SFTP_INPUT_HOST; mirror -v --no-perms --delete --reverse $INPUT_SOURCE $INPUT_DESTINATION; quit" +lftp -e "set sftp:auto-confirm yes; open -p $INPUT_SFTP_PORT -u $INPUT_SFTP_USER,$INPUT_SFTP_PW $INPUT_SFTP_HOST; mirror -v --no-perms --delete --reverse $INPUT_SOURCE $INPUT_DESTINATION; quit"