clear log_download_tarball_missing.txt

The records of prior download failures are never being cleared
from log_download_tarball_missing.txt.

log_download_tarball_missing.txt needs to be cleared at the start of
each new download attempt.

Closes-bug: 1928131
Signed-off-by: Scott Little <scott.little@windriver.com>
Change-Id: Id38b49f8d7d8ab7c31e54d70fad097dd806f2dd5
This commit is contained in:
Scott Little 2021-05-11 15:18:08 -04:00
parent 7b5f3a45e6
commit 3731971b98
1 changed files with 2 additions and 0 deletions

View File

@ -126,6 +126,8 @@ if [ ! -d "$logs_dir" ]; then
mkdir "$logs_dir"
fi
cat /dev/null > $output_log
is_tarball() {
local tarball_name="$1"
local mime_type