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