summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorjosch <j.schauer@email.de>2015-02-03 09:09:48 +0100
committerHolger Levsen <holger@layer-acht.org>2015-02-03 09:19:39 +0100
commit9dce7f26678d47c393d66e3f38d31e0f1353ad4a (patch)
tree27d8ae51528900623d980c8e5d7818e135276ba1 /bin
parente64c55131acaf2767813d6b8cb688d9c8d0d308d (diff)
downloadjenkins.debian.net-9dce7f26678d47c393d66e3f38d31e0f1353ad4a.tar.xz
bin/find_dpkg_trigger_cycles.sh: print error if curl fails
Diffstat (limited to 'bin')
-rwxr-xr-xbin/find_dpkg_trigger_cycles.sh2
1 files changed, 1 insertions, 1 deletions
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