Re: anonftpsync mail subject
Am 13.09.2007 19:09 schrieb Simon Paillard:
On Wed, Sep 12, 2007 at 06:25:12PM +0200, Martin Zobel-Helas wrote:
The subject line will tell you right away if the sync failed or not, and
you won't need to scroll down to the end of the log every time.
Maybe sending only stderr by mail would be even better, to be able to
quickly locate the errors.
However an improvement, if the second pass failes, the subject line will
still say it's a success. A second "result=$?" and an if statement just
before the mail is sent may solve this case.
looks sane to me. Simon, may i apply that change?