diff options
author | 2011-10-15 14:40:20 +0200 | |
---|---|---|
committer | 2011-10-15 14:40:20 +0200 | |
commit | 4da603f479892c83976768282f5875738da6beb8 (patch) | |
tree | ed038c3a92f6c1826a08a1b6cd986778064c94d9 /scripts | |
parent | use qa-reports.g.o instead of tinderbox.g.o (diff) | |
download | maekke-4da603f479892c83976768282f5875738da6beb8.tar.gz maekke-4da603f479892c83976768282f5875738da6beb8.tar.bz2 maekke-4da603f479892c83976768282f5875738da6beb8.zip |
check wget exit status when fetching reverse deps
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/rdep | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/rdep b/scripts/rdep index a11c1f0..db11e80 100755 --- a/scripts/rdep +++ b/scripts/rdep @@ -43,6 +43,11 @@ fi tmp="$(mktemp)" wget -o /dev/null -O "${tmp}" "${BASE_URL}/${pkg}" +if [[ $? -ne 0 ]] ; then + echo "failed to fetch reverse deps" + rm "${tmp}" + exit 1 +fi last_pn="" |