mirror of
https://github.com/dehydrated-io/dehydrated.git
synced 2026-04-21 07:51:26 +02:00
fix small issue with certificate profile selection (use key instead of value)
This commit is contained in:
@@ -622,7 +622,7 @@ init_system() {
|
|||||||
|
|
||||||
# Check if the requested profile is available
|
# Check if the requested profile is available
|
||||||
found_profile="no"
|
found_profile="no"
|
||||||
for profile in "${available_profiles[@]}"; do
|
for profile in "${!available_profiles[@]}"; do
|
||||||
if [[ "${profile}" == "${ACME_PROFILE}" ]]; then
|
if [[ "${profile}" == "${ACME_PROFILE}" ]]; then
|
||||||
found_profile="yes"
|
found_profile="yes"
|
||||||
break
|
break
|
||||||
|
|||||||
Reference in New Issue
Block a user