From 5bbb0ee55c7f5c580810c6ac80dd3d27d4dafb46 Mon Sep 17 00:00:00 2001 From: casperklein Date: Fri, 16 Aug 2024 16:16:55 +0200 Subject: [PATCH] adjust style --- target/scripts/startup/setup.d/getmail.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/scripts/startup/setup.d/getmail.sh b/target/scripts/startup/setup.d/getmail.sh index 26df4d34..e63db138 100644 --- a/target/scripts/startup/setup.d/getmail.sh +++ b/target/scripts/startup/setup.d/getmail.sh @@ -26,7 +26,7 @@ function _setup_getmail() { # Generate getmailrc configs, starting with the `/etc/getmailrc_general` base config, then appending users own config to the end. for FILE in "${GETMAIL_CONFIG_DIR}"/*.cf; do - if [[ ${FILE} =~ /getmail/(.+)\.cf && ${FILE} != "${GETMAIL_RC_GENERAL_CF}" ]]; then + if [[ ${FILE} =~ /getmail/(.+)\.cf ]] && [[ ${FILE} != "${GETMAIL_RC_GENERAL_CF}" ]]; then ID=${BASH_REMATCH[1]} _log 'debug' "Processing getmail config '${ID}'"