diff --git a/server/scripts/run-getmail.sh b/server/scripts/run-getmail.sh index 048e04a304acd1fc7947df17174b0e8506675f1d..13e514cc20da18384e3c7ca97e741d07a34d1634 100644 --- a/server/scripts/run-getmail.sh +++ b/server/scripts/run-getmail.sh @@ -4,9 +4,9 @@ set -e cd /etc/getmail rcfiles="" for file in *.conf ; do -if [ $file != "*.conf" ]; then -rcfiles="$rcfiles -r $file" -fi + if [ $file != "*.conf" ]; then + rcfiles="$rcfiles -r $file" + fi done #echo $rcfiles if [ -f /tmp/.getmail_lock ]; then @@ -17,4 +17,4 @@ else /usr/bin/getmail -n -v -g /etc/getmail $rcfiles fi rm -f /tmp/.getmail_lock -fi \ No newline at end of file +fi