mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-18 05:28:17 +03:00
fix: Correct variable usage in domain/subnet parsing function (#165)
This commit is contained in:
@@ -1021,7 +1021,7 @@ import_local_domain_or_subnet_list() {
|
||||
fi
|
||||
|
||||
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
|
||||
log "No valid $type found in $filepath"
|
||||
|
||||
Reference in New Issue
Block a user