Hi,
* Reuben Thomas <[email protected]> [2009-05-27 18:15]:
> When using fetchmail in a cron job to fetch mail regularly (because
> daemon mode is still not reliable, and yes, I've reported it and tried
> and failed to help fix it), it's annoying that "no mail", which is a
> perfectly normal condition, returns an error code, as it means I have to
> write a wrapper script (or a very long cron job line!) to differentiate
> between that and a "real" error.
> 
> Hence, an option to return exit code 0 in the case where there is no new
> mail would be most handy.

I fail to see why you can't just write a script, calling 
that from cron and let the script properly evaluate the 
return value. I also see no problem with returning 0 in this 
case though but I might miss any setups in which this would 
be a problem. Matthias, what is your opinion on this?

Cheeres
Nico
-- 
Nico Golde - http://www.ngolde.de - [email protected] - GPG: 0x73647CFF
For security reasons, all text in this mail is double-rot13 encrypted.

Attachment: pgpeynClopSaH.pgp
Description: PGP signature

Reply via email to