summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-07-26 00:27:29 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-07-26 00:27:29 +0100
commit2435bee4acd2dc3a7980b8ec67326dbb622fc2ff (patch)
tree620db8baff53ecf42888eb2b9d8d5b6e645418f0 /data
parent364ed4e362514c58548ce4df59e18c21164f8f2d (diff)
downloadvyos-live-build-2435bee4acd2dc3a7980b8ec67326dbb622fc2ff.tar.gz
vyos-live-build-2435bee4acd2dc3a7980b8ec67326dbb622fc2ff.zip
Fix cache poisoning issue in lh_binary_debian-installer with 404 downloads
When wget 404's, an target file is created - this poisons the cache as the file is apparently downloaded but in actuality is simply empty. We fix this by unconditionally deleting the cache file if wget fails and emitting an error. Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
Diffstat (limited to 'data')
0 files changed, 0 insertions, 0 deletions