From 887c1552cb04b19e425a121ddaebedfa4fc49df8 Mon Sep 17 00:00:00 2001 From: Jeremy Lecour Date: Mon, 30 Aug 2021 14:06:32 +0200 Subject: [PATCH] certbot: sync_remote.sh uses quotes for variable export --- certbot/files/hooks/deploy/sync_remote.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/certbot/files/hooks/deploy/sync_remote.sh b/certbot/files/hooks/deploy/sync_remote.sh index d1721fdb..dd4b8f6d 100644 --- a/certbot/files/hooks/deploy/sync_remote.sh +++ b/certbot/files/hooks/deploy/sync_remote.sh @@ -44,7 +44,7 @@ main() { || error "Couldn't sync hooks on ${server}" # shellcheck disable=SC2029 - ssh "${remote_host}" "export RENEWED_LINEAGE=\"${remote_lineage}/\" RENEWED_DOMAINS=${RENEWED_DOMAINS}; find ${remote_dir}/hooks/ -mindepth 1 -maxdepth 1 -type f -executable -exec {} \;" \ + ssh "${remote_host}" "export RENEWED_LINEAGE=\"${remote_lineage}/\" RENEWED_DOMAINS=\"${RENEWED_DOMAINS}\"; find ${remote_dir}/hooks/ -mindepth 1 -maxdepth 1 -type f -executable -exec {} \;" \ || error "Something went wrong on ${server} for deploy hooks" done else