From b27597d40ab29bc880c8607858343f27e1dc8bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Joshua=20Ismael=20Haase=20Hern=C3=A1ndez?= Date: Thu, 16 Feb 2012 11:23:25 -0600 Subject: update-cleansystem: doesn't show erros of not avaliable db on tempdir --- update-cleansystem | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/update-cleansystem b/update-cleansystem index dd3ff6c..97c2922 100755 --- a/update-cleansystem +++ b/update-cleansystem @@ -15,7 +15,7 @@ tmpdir=/tmp/cleansystem.${RANDOM} mkdir -p ${tmpdir}/var/lib/pacman # We sync first because updating info gets printed to stdout too -pacman -r ${tmpdir} --config /etc/pacman.conf -Sy +pacman -r ${tmpdir} --config /etc/pacman.conf -Sy 2>/dev/null pacman -r ${tmpdir} \ --config /etc/pacman.conf \ -Sp --print-format "%n" \ -- cgit v1.2.2