nit typo code comment

This commit is contained in:
climberomes
2025-12-21 00:15:09 -08:00
parent 1d2a22397e
commit 83783ae056

View File

@@ -427,11 +427,11 @@ function _prompt_install_feature() {
elif [ "$opt" == "pv_option" ]; then
# pv_option has multiple options and is not a normal binary flag [enabled(1)/disabled(0)].
# We must evaluate the input flag and its value in this block
local opt_value=${!opt:-0} # Default to zero if somehow pv_option is still assigned as to null.
local opt_value=${!opt:-0} # Default to zero if somehow pv_option is still unassigned.
if [ "$opt_value" == 0 ]; then
echo "(Skipped)" # Skip if VPN Provider not selected / assigned
echo "(Skipped)" # Skip if VPN Provider not selected / unassigned
else
# Iterate over the defined VPN providers by pulling the valid providers from the config file
# Iterate over the defined VPN Providers by pulling the valid providers from the config file
local valid_ids=($(jq -r '.providers[].id' "$webroot_dir/config/vpn-providers.json"))
local found=0
for id in "${valid_ids[@]}"; do