summaryrefslogtreecommitdiff
path: root/src/chroot-tools/chcleanup
diff options
context:
space:
mode:
authorLuke Shumaker <LukeShu@sbcglobal.net>2013-06-01 16:44:57 -0600
committerLuke Shumaker <LukeShu@sbcglobal.net>2013-06-05 20:01:05 -0600
commit0b2139ee355ca73b9ddfeebf8c3881ce4f1c22c1 (patch)
tree8938890879c226fa6e70666528116fe14ae9ebed /src/chroot-tools/chcleanup
parent8e4f38133dc6b0a91d16ac5a7a3ff78ba1e24727 (diff)
chcleanup: don't fail when offline
Diffstat (limited to 'src/chroot-tools/chcleanup')
-rwxr-xr-xsrc/chroot-tools/chcleanup2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/chroot-tools/chcleanup b/src/chroot-tools/chcleanup
index e407f1e..49a2da4 100755
--- a/src/chroot-tools/chcleanup
+++ b/src/chroot-tools/chcleanup
@@ -45,7 +45,7 @@ fi
msg "Cleaning chroot..."
-pacman -Sy
+pacman -Sy || true
TEMPDIR="$(mktemp --tmpdir -d $(basename $0).XXXXX)"
cp -a /var/lib/pacman/sync "${TEMPDIR}/"