Skip to content
Snippets Groups Projects
Commit 06d4a2ba authored by tbrehm's avatar tbrehm
Browse files

Fixed a problem with getmail locking.

parent 45858cbb
No related branches found
No related tags found
No related merge requests found
#!/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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment