[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: anonftpsync mail subject



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?

Sure !


-- 
Simon Paillard



Reply to: