summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorWill Woods <wwoods@redhat.com>2009-03-10 18:26:19 -0400
committerWill Woods <wwoods@redhat.com>2009-03-10 18:26:19 -0400
commitbaccd06887bee04cf7b507ad0970d8df53aaaae2 (patch)
treecf3f7b1aefad3992e0b7a0c1e1810e56d61704bd
parent2ee42b3c2c4d93e13acb533e9b1551556b096c3d (diff)
downloaddebuginfofs-baccd06887bee04cf7b507ad0970d8df53aaaae2.tar.gz
debuginfofs-baccd06887bee04cf7b507ad0970d8df53aaaae2.tar.xz
debuginfofs-baccd06887bee04cf7b507ad0970d8df53aaaae2.zip
Don't attempt to unpack a package if we failed to download it.
-rwxr-xr-xserver/debuginfofs-mirror1
1 files changed, 1 insertions, 0 deletions
diff --git a/server/debuginfofs-mirror b/server/debuginfofs-mirror
index ef66633..4ad110f 100755
--- a/server/debuginfofs-mirror
+++ b/server/debuginfofs-mirror
@@ -343,6 +343,7 @@ def main():
except yum.Errors.RepoError, e:
y.logger.error(str(e))
y.logger.error("Can't download %s; skipping" % pkg_to_nevra(p))
+ continue
if opt.download_only:
continue
local = p.localpath