From fc55686231fd6b100117f3ebec1e7c84a080c48b Mon Sep 17 00:00:00 2001 From: ftimme <ft@falkotimme.com> Date: Tue, 25 Jun 2013 11:06:46 -0400 Subject: [PATCH] - Prevent getmail from stopping the run-getmail.sh script in case of errors (in this case it would not delete the lock file which means it cannot run another time). --- server/scripts/run-getmail.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/server/scripts/run-getmail.sh b/server/scripts/run-getmail.sh index 0ab8cc5..81f897a 100644 --- a/server/scripts/run-getmail.sh +++ b/server/scripts/run-getmail.sh @@ -14,7 +14,7 @@ else touch /tmp/.getmail_lock if [ "$rcfiles" != "" ]; then - /usr/bin/getmail -v -g /etc/getmail $rcfiles + /usr/bin/getmail -v -g /etc/getmail $rcfiles || true fi rm -f /tmp/.getmail_lock fi -- Gitblit v1.9.1