From: Colin Watson Date: Mon, 13 Jan 2003 14:22:59 +0000 (+0000) Subject: pull-mail: fetchmail returns 1 if there was no mail to fetch. Boggle. X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?p=bin.git;a=commitdiff_plain;h=d4b1b0c18521d57183d981831661879bc6d60aee;ds=sidebyside pull-mail: fetchmail returns 1 if there was no mail to fetch. Boggle. Actually, I want all mail fetching attempts to proceed even if some of them fail, so removing the 'set -e' seems the most sensible fix. --- diff --git a/pull-mail b/pull-mail index 2c11b99..a195950 100755 --- a/pull-mail +++ b/pull-mail @@ -1,5 +1,4 @@ #! /bin/sh -set -e if ! [ -e ~/.nomail ]; then date >> ~/.fetchmail/log