tbrehm
2010-03-04 06d4a2ba1267529172b778f6b1503e734b319d04
Fixed a problem with getmail locking.
1 files modified
3 ■■■■ changed files
server/scripts/run-getmail.sh 3 ●●●● patch | view | raw | blame | history
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 @@
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