[pacman-contrib] [PATCH 2/2] Don't log to pacman.log when files are downloaded to the cache
Eli Schwartz
eschwartz at archlinux.org
Sun Jul 15 05:03:40 UTC 2018
This is not interesting information and doesn't modify anything for
which logging it would be interesting.
Signed-off-by: Eli Schwartz <eschwartz at archlinux.org>
---
src/pacscripts.sh.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/pacscripts.sh.in b/src/pacscripts.sh.in
index 3f11d3d..ee4afa8 100644
--- a/src/pacscripts.sh.in
+++ b/src/pacscripts.sh.in
@@ -112,7 +112,7 @@ print_scriptlet() {
fi
url=$(pacman -Sddp $1)
if [[ $url != file://* ]]; then
- if ! spacman -Sddw --noconfirm $1 >&2; then
+ if ! spacman -Sddw --logfile /dev/null --noconfirm $1 >&2; then
error "Failed to download $1"
return 1
fi
--
2.18.0
More information about the pacman-contrib
mailing list