[pacman-dev] [PATCH] paccache: added --quiet option

Florian Pritz bluewind at xinu.at
Sun Feb 8 22:32:48 UTC 2015


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).

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <https://lists.archlinux.org/pipermail/pacman-dev/attachments/20150208/c30cb8dd/attachment.asc>


More information about the pacman-dev mailing list