mirror of
https://github.com/pi-hole/pi-hole
synced 2024-12-22 14:58:08 +00:00
<<<$()
back to < <()
Signed-off-by: Adam Warner <adamw@rner.email>
This commit is contained in:
parent
d02bf258af
commit
8d8482d60b
@ -128,7 +128,7 @@ gravity_Collapse() {
|
||||
echo -ne " ${INFO} ${str}..."
|
||||
|
||||
# Retrieve source URLs from $adListFile
|
||||
mapfile -t sources <<< $(
|
||||
mapfile -t sources < <(
|
||||
# Logic: Remove comments (#@;![)
|
||||
awk '!/^[#@;!\[]/ {
|
||||
# Remove windows CR line endings
|
||||
@ -139,7 +139,7 @@ gravity_Collapse() {
|
||||
)
|
||||
|
||||
# Parse source domains from $sources
|
||||
mapfile -t sourceDomains <<< $(
|
||||
mapfile -t sourceDomains < <(
|
||||
# Logic: Split by folder/port
|
||||
awk -F '[/:]' '{
|
||||
# Remove URL protocol & optional username:password@
|
||||
|
Loading…
Reference in New Issue
Block a user