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

@ -13,8 +13,7 @@ function _setup_getmail() {
# Generate getmailrc configs, starting with the `/etc/getmailrc_general` base config,
# Add a unique `message_log` config, then append users own config to the end.
for FILE in /tmp/docker-mailserver/getmail-*.cf
do
for FILE in /tmp/docker-mailserver/getmail-*.cf; do
if [[ -f ${FILE} ]]; then
CONFIGS=1
ID=$(cut -d '-' -f 3 <<< "${FILE}" | cut -d '.' -f 1)