diff options
author | josch <j.schauer@email.de> | 2015-02-03 09:09:48 +0100 |
---|---|---|
committer | Holger Levsen <holger@layer-acht.org> | 2015-02-03 09:19:39 +0100 |
commit | 9dce7f26678d47c393d66e3f38d31e0f1353ad4a (patch) | |
tree | 27d8ae51528900623d980c8e5d7818e135276ba1 /bin | |
parent | e64c55131acaf2767813d6b8cb688d9c8d0d308d (diff) | |
download | jenkins.debian.net-9dce7f26678d47c393d66e3f38d31e0f1353ad4a.tar.xz |
bin/find_dpkg_trigger_cycles.sh: print error if curl fails
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/find_dpkg_trigger_cycles.sh | 2 |
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 |