From 9dce7f26678d47c393d66e3f38d31e0f1353ad4a Mon Sep 17 00:00:00 2001 From: josch Date: Tue, 3 Feb 2015 09:09:48 +0100 Subject: bin/find_dpkg_trigger_cycles.sh: print error if curl fails --- bin/find_dpkg_trigger_cycles.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/find_dpkg_trigger_cycles.sh b/bin/find_dpkg_trigger_cycles.sh index 87d2bdc8..93cd409b 100755 --- a/bin/find_dpkg_trigger_cycles.sh +++ b/bin/find_dpkg_trigger_cycles.sh @@ -156,7 +156,7 @@ curl --globoff "http://binarycontrol.debian.net/?q=&path=${DIST}%2F[^%2F]%2B%2Ft | while read pkg url; do echo "working on $pkg..." >&2 tmpdir=`mktemp -d` - curl --retry 2 --location --silent "$url" \ + ( curl --retry 2 --location --silent "$url" || echo "curl failed">&2 ) \ | dpkg-deb --ctrl-tarfile /dev/stdin \ | tar -C "$tmpdir" --exclude=./md5sums -x if [ ! -f "$tmpdir/triggers" ]; then -- cgit v1.2.3-70-g09d2