2015-02-08 23:32 GMT+01:00 Florian Pritz <[email protected]>:
> On 08.02.2015 23:24, Maxim Andersson wrote:
>> Cleaner to have -q,--quiet than >/dev/null in cron.
>
> You should look into using chronic from moreutils. It captures
> stdout/stderr and only outputs them again if the exit code != 0 (which I
> hope holds for paccache if it encounters errors).

Sounds like a neat tool. I hadn't heard about before, but I will
definitively check it out.

But in paccaches case the output would be pretty much the same, as
there is (almost) no output before the potential errors could occur.

// Maxim

>
> You really want all the output you can get in the error case for easier
> debugging (especially if you can't reproduce the error).
>
> That said I don't care if this goes in. ±0
>

Reply via email to