Skip to content

Commit 06d4a2b

Browse files
committed
Fixed a problem with getmail locking.
1 parent 45858cb commit 06d4a2b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

server/scripts/run-getmail.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
#!/bin/sh
2+
PATH=/sbin:/usr/sbin:/bin:/usr/bin:/usr/local/sbin:/usr/local/bin:/usr/X11R6/bin
23
set -e
34
cd /etc/getmail
45
rcfiles=""
@@ -13,7 +14,7 @@ if [ -f /tmp/.getmail_lock ]; then
1314
else
1415
touch /tmp/.getmail_lock
1516
if [ "$rcfiles" != "" ]; then
16-
exec /usr/bin/getmail -n -v -g /etc/getmail $rcfiles
17+
/usr/bin/getmail -n -v -g /etc/getmail $rcfiles
1718
fi
1819
rm -f /tmp/.getmail_lock
1920
fi

0 commit comments

Comments
 (0)