diff mbox

[3/4] support/download: restore mandatory check of hashes

Message ID 42e2fd5edc271abfcdd359155358e2de0953f3f1.1428081325.git.yann.morin.1998@free.fr
State Changes Requested
Headers show

Commit Message

Yann E. MORIN April 3, 2015, 5:16 p.m. UTC
Now that custom external toolchains to be downloaded proprely instruct
to not fail on a missing hash, restore the mandatory hash check for
everything else.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Cc: Gustavo Zacarias <gustavo@zacarias.com.ar>
---
 support/download/check-hash | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox

Patch

diff --git a/support/download/check-hash b/support/download/check-hash
index 1276290..c24d26b 100755
--- a/support/download/check-hash
+++ b/support/download/check-hash
@@ -100,5 +100,5 @@  if [ ${nb_checks} -eq 0 ]; then
         exit 0
     fi
     printf "ERROR: No hash found for %s\n" "${base}" >&2
-    exit 0
+    exit 3
 fi