mirror of
https://github.com/pi-hole/pi-hole
synced 2025-01-03 20:50:56 +00:00
Merge pull request #4542 from pi-hole/remove_oneline
Remove oneline from ss call
This commit is contained in:
commit
d5253f26f4
@ -753,7 +753,7 @@ check_required_ports() {
|
|||||||
# Sort the addresses and remove duplicates
|
# Sort the addresses and remove duplicates
|
||||||
while IFS= read -r line; do
|
while IFS= read -r line; do
|
||||||
ports_in_use+=( "$line" )
|
ports_in_use+=( "$line" )
|
||||||
done < <( ss --listening --numeric --tcp --udp --processes --oneline --no-header )
|
done < <( ss --listening --numeric --tcp --udp --processes --no-header )
|
||||||
|
|
||||||
# Now that we have the values stored,
|
# Now that we have the values stored,
|
||||||
for i in "${!ports_in_use[@]}"; do
|
for i in "${!ports_in_use[@]}"; do
|
||||||
|
Loading…
Reference in New Issue
Block a user