We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1fb9d1e commit b1ee77eCopy full SHA for b1ee77e
mnf
@@ -166,6 +166,10 @@ up() {
166
fi
167
done
168
169
+ # Turn into regex.
170
+ country_code="$(tr ',' '|' <<<"$INCLUDE_COUNTRY_CODES")"
171
+ readarray -t MULLVAD_RELAYS < <(printf '%s\n' "${MULLVAD_RELAYS[@]}" | grep -E "^$country_code")
172
+
173
# Exclude countries
174
else
175
# If EXCLUDE_COUNTRY_CODES is non-null
0 commit comments