From 06d4a2ba1267529172b778f6b1503e734b319d04 Mon Sep 17 00:00:00 2001 From: tbrehm Date: Thu, 4 Mar 2010 14:38:55 +0000 Subject: [PATCH] Fixed a problem with getmail locking. --- server/scripts/run-getmail.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/server/scripts/run-getmail.sh b/server/scripts/run-getmail.sh index 274c0cb443..048e04a304 100644 --- a/server/scripts/run-getmail.sh +++ b/server/scripts/run-getmail.sh @@ -1,4 +1,5 @@ #!/bin/sh +PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin set -e cd /etc/getmail rcfiles="" @@ -13,7 +14,7 @@ if [ -f /tmp/.getmail_lock ]; then else touch /tmp/.getmail_lock if [ "$rcfiles" != "" ]; then - exec /usr/bin/getmail -n -v -g /etc/getmail $rcfiles + /usr/bin/getmail -n -v -g /etc/getmail $rcfiles fi rm -f /tmp/.getmail_lock fi \ No newline at end of file -- GitLab