Commit 06d4a2ba authored by tbrehm's avatar tbrehm

Fixed a problem with getmail locking.

parent 45858cbb
#!/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
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment