From 450aea660ab4f975a2164a2c2f76297c1c9adda4 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Mon, 26 Jan 2015 11:15:28 +0100 Subject: always be true... --- bin/chroot-installation.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/chroot-installation.sh b/bin/chroot-installation.sh index 48215117..eff64ced 100755 --- a/bin/chroot-installation.sh +++ b/bin/chroot-installation.sh @@ -43,7 +43,7 @@ cleanup_all() { execute_ctmpfile() { chmod +x $CTMPFILE sudo chroot $CHROOT_TARGET $TMPFILE 2>&1 | tee $TMPLOG - RESULT=$(egrep "Failed to fetch.*Unable to connect to" $TMPLOG) + RESULT=$(egrep "Failed to fetch.*Unable to connect to" $TMPLOG || true) if [ ! -z "$RESULT" ] ; then echo echo "Trying to workaround temporarily failure fetching packages, trying again..." -- cgit v1.2.3-70-g09d2