ftimme
2013-06-25 fc55686231fd6b100117f3ebec1e7c84a080c48b
- Prevent getmail from stopping the run-getmail.sh script in case of errors (in this case it would not delete the lock file which means it cannot run another time).
1 files modified
2 ■■■ changed files
server/scripts/run-getmail.sh 2 ●●● patch | view | raw | blame | history
server/scripts/run-getmail.sh
@@ -14,7 +14,7 @@
else
  touch /tmp/.getmail_lock
  if [ "$rcfiles" != "" ]; then
    /usr/bin/getmail -v -g /etc/getmail $rcfiles
    /usr/bin/getmail -v -g /etc/getmail $rcfiles || true
  fi
  rm -f /tmp/.getmail_lock
fi