tooling box ./utils/*: minor fix from production test

This commit is contained in:
Markus Heiser 2020-02-04 19:47:33 +01:00
parent 2f40f61f83
commit 71d7550dbe
8 changed files with 29 additions and 7 deletions

View file

@ -279,7 +279,7 @@ cache_download() {
else
wget --progress=bar -O "${CACHE}/$2" "$1" ; exit_value=$?
fi
if [[ $exit_value = 0 ]]; then
if [[ ! $exit_value = 0 ]]; then
err_msg "failed to download: $1"
fi
fi