fix small issue with certificate profile selection (use key instead of value)

This commit is contained in:
Lukas Schauer
2025-04-14 18:49:44 +02:00
parent 1a1cb94a61
commit f6d82e2715

View File

@@ -622,7 +622,7 @@ init_system() {
# Check if the requested profile is available
found_profile="no"
for profile in "${available_profiles[@]}"; do
for profile in "${!available_profiles[@]}"; do
if [[ "${profile}" == "${ACME_PROFILE}" ]]; then
found_profile="yes"
break