summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-02-16 11:23:25 -0600
committerJoshua Ismael Haase Hernández <hahj87@gmail.com>2012-02-16 11:23:25 -0600
commitb27597d40ab29bc880c8607858343f27e1dc8bfc (patch)
treee5273e0dc91c0cef8cc6907a358a892a196628e5
parenteeb2d8b4b6d56ae11c17b0bb25fb7bd20570c9db (diff)
update-cleansystem: doesn't show erros of not avaliable db on tempdir
-rwxr-xr-xupdate-cleansystem2
1 files changed, 1 insertions, 1 deletions
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" \