[pacman-dev] [PATCH] paccache: added --quiet option
Maxim Andersson
thesilentboatman at gmail.com
Mon Feb 9 00:15:32 UTC 2015
2015-02-08 23:32 GMT+01:00 Florian Pritz <bluewind at xinu.at>:
> 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
>
More information about the pacman-dev
mailing list