This commit is contained in:
2025-06-24 21:20:30 +01:00
parent 238d690024
commit 74fec08104

View File

@@ -62,7 +62,8 @@ fi
# Get a space-separated list of the config filenames. # Get a space-separated list of the config filenames.
# This will be used on the remote server to create symlinks. # This will be used on the remote server to create symlinks.
CONFIG_FILES=$(ls "$SOURCE_SITES_DIR") # The `tr` command ensures the list is on a single line, preventing syntax errors.
CONFIG_FILES=$(ls "$SOURCE_SITES_DIR" | tr '\n' ' ')
echo "-> Found site config files to process: $CONFIG_FILES" echo "-> Found site config files to process: $CONFIG_FILES"
# Find all unique domains for Certbot. # Find all unique domains for Certbot.