]> git.ipfire.org Git - thirdparty/dehydrated.git/commitdiff
fix small issue with certificate profile selection (use key instead of value)
authorLukas Schauer <lukas@schauer.dev>
Mon, 14 Apr 2025 16:49:44 +0000 (18:49 +0200)
committerLukas Schauer <lukas@schauer.dev>
Mon, 14 Apr 2025 16:49:44 +0000 (18:49 +0200)
dehydrated

index de6f4a935b9bd11d02c77e8a9f0d0e79ba277c16..4be9e57e3f7b32f6d9182fdfd7e6af1558aa2b14 100755 (executable)
@@ -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