From: Lukas Schauer Date: Mon, 14 Apr 2025 16:49:44 +0000 (+0200) Subject: fix small issue with certificate profile selection (use key instead of value) X-Git-Tag: v0.7.2~10 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f6d82e271589a2d9b2edf98dfc4dab04b35d7919;p=thirdparty%2Fdehydrated.git fix small issue with certificate profile selection (use key instead of value) --- diff --git a/dehydrated b/dehydrated index de6f4a9..4be9e57 100755 --- a/dehydrated +++ b/dehydrated @@ -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