summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
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 93cd409b..3ba6ba60 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" || echo "curl failed">&2 ) \
+ ( curl --retry 2 --location --silent "$url" || ( echo "curl failed with exit $?">&2; exit 1 ) ) \
| dpkg-deb --ctrl-tarfile /dev/stdin \
| tar -C "$tmpdir" --exclude=./md5sums -x
if [ ! -f "$tmpdir/triggers" ]; then