mirror of
https://github.com/itdoginfo/podkop.git
synced 2025-12-18 13:38:14 +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
|
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"
|
||||||
|
|||||||
Reference in New Issue
Block a user