fix: Correct variable usage in domain/subnet parsing function (#165)

This commit is contained in:
Andrey Petelin
2025-09-16 13:39:40 +05:00
parent 49add27f81
commit 269123600a

View File

@@ -1021,7 +1021,7 @@ import_local_domain_or_subnet_list() {
fi fi
local items json_array local items json_array
items="$(parse_domain_or_subnet_file_to_comma_string "$tmpfile" "domains")" items="$(parse_domain_or_subnet_file_to_comma_string "$filepath" "$type")"
if [ -z "$items" ]; then if [ -z "$items" ]; then
log "No valid $type found in $filepath" log "No valid $type found in $filepath"