summaryrefslogtreecommitdiff
path: root/utils/lib.sh
diff options
context:
space:
mode:
authorMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 19:47:33 +0100
committerMarkus Heiser <markus.heiser@darmarit.de>2020-02-04 19:47:33 +0100
commit71d7550dbe750f35f0dd7b5c513bc9e8db9512ee (patch)
tree84fcbd1a82a8f298807cd3490b2acee7b5fcbb64 /utils/lib.sh
parent2f40f61f83afb34f0c4b95019a53050a504ce43a (diff)
downloadsearxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.tar.gz
searxng-71d7550dbe750f35f0dd7b5c513bc9e8db9512ee.zip
tooling box ./utils/*: minor fix from production test
Diffstat (limited to 'utils/lib.sh')
-rwxr-xr-xutils/lib.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/lib.sh b/utils/lib.sh
index 05ff5e594..59ad12229 100755
--- a/utils/lib.sh
+++ b/utils/lib.sh
@@ -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