1
0
mirror of https://github.com/docker-mailserver/docker-mailserver.git synced 2025-08-07 23:03:10 +02:00

Change 'for' style (#3368)

This commit is contained in:
Casper
2023-05-26 14:00:40 +02:00
committed by GitHub
parent 8512dba8ad
commit 8bfe8424fc
26 changed files with 43 additions and 86 deletions

View File

@ -76,8 +76,7 @@ function _setup_fetchmail_parallel() {
_fetchmailrc_split
local COUNTER=0
for RC in /etc/fetchmailrc.d/fetchmail-*.rc
do
for RC in /etc/fetchmailrc.d/fetchmail-*.rc; do
COUNTER=$(( COUNTER + 1 ))
cat >"/etc/supervisor/conf.d/fetchmail-${COUNTER}.conf" << EOF
[program:fetchmail-${COUNTER}]