Remove oneline from ss call

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König 2022-01-09 07:13:51 +01:00
parent 1b0b24daf5
commit a65a841c56
No known key found for this signature in database
GPG Key ID: 4CDA6F249DD2B485
1 changed files with 1 additions and 1 deletions

View File

@ -753,7 +753,7 @@ check_required_ports() {
# Sort the addresses and remove duplicates
while IFS= read -r line; do
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,
for i in "${!ports_in_use[@]}"; do