From 1caae2437a2f63bee55a89afa4517a90ca3b9f3a Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 3 May 2021 11:44:44 +0200 Subject: [PATCH] certbot: fix remote directory initialization --- certbot/files/hooks/sync_remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/files/hooks/sync_remote.sh b/certbot/files/hooks/sync_remote.sh index a06c728c..08006b38 100644 --- a/certbot/files/hooks/sync_remote.sh +++ b/certbot/files/hooks/sync_remote.sh @@ -34,7 +34,7 @@ main() { for server in ${servers}; do remote_host="root@${server}" # shellcheck disable=SC2029 - ssh "${remote_host}" "mkdir -p ${remote_dir}" \ + ssh "${remote_host}" "mkdir -p ${remote_lineage}" \ || error "Couldn't create ${remote_dir} directory ${server}" rsync --archive --copy-links --delete "${RENEWED_LINEAGE}/" "${remote_host}:${remote_lineage}/" \