mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-07-01 04:54:49 +02:00
Change 'while' style (#3365)
This commit is contained in:
parent
37ca0f9ba9
commit
c2d0b748b2
18 changed files with 22 additions and 44 deletions
|
@ -22,8 +22,7 @@ function _setup_docker_permit() {
|
|||
_dms_panic__misconfigured 'NETWORK_INTERFACE' 'Network Setup [docker_permit]'
|
||||
fi
|
||||
|
||||
while read -r IP
|
||||
do
|
||||
while read -r IP; do
|
||||
CONTAINER_NETWORKS+=("${IP}")
|
||||
done < <(ip -o -4 addr show type veth | grep -E -o '[0-9\.]+/[0-9]+')
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue