Only pass cache if file is not empty
In commit 797862 the logic continues even if the cache file cannot be
downloaded. Unfortunately this approach is buggy since wget can create
empty files if the download fails.
To avoid passing an invalid cache file, check if file is not empty.
Signed-off-by:
Walter Lozano <walter.lozano@collabora.com>
parent
ebab6716
No related branches found
No related tags found
Please register or sign in to comment