diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-07-26 00:27:29 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:37 +0100 |
commit | b9c6f0a083a0130e9aa829c8f5b418a74e2b2144 (patch) | |
tree | 620db8baff53ecf42888eb2b9d8d5b6e645418f0 /templates/syslinux/menu/header.cfg | |
parent | 1b37572080c01cdaf6e66a1bc53ca029253e4803 (diff) | |
download | live-build-b9c6f0a083a0130e9aa829c8f5b418a74e2b2144.zip live-build-b9c6f0a083a0130e9aa829c8f5b418a74e2b2144.tar.gz |
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.
Diffstat (limited to 'templates/syslinux/menu/header.cfg')
0 files changed, 0 insertions, 0 deletions