2
0
mirror of https://github.com/searx/searx synced 2025-08-31 14:38:23 +00:00

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