From 79d49af93a45f184ad05ab6dc4fd662848333e50 Mon Sep 17 00:00:00 2001 From: Harald Welte Date: Thu, 28 Jun 2018 08:28:27 +0200 Subject: jenkins_arch.sh: Exit with error on unknown architecture The jenkins build job used to call this script using an "arch" it doesn't understand. This should have resulted in an error, but it didn't as there was a missing "exit 1" statement :( Related: OS#3360 Change-Id: Ib27c9ebaf2630c432b1923f8e14b36e7772a6033 --- contrib/jenkins_arch.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/contrib/jenkins_arch.sh b/contrib/jenkins_arch.sh index cf9546e8..99ce5c1a 100755 --- a/contrib/jenkins_arch.sh +++ b/contrib/jenkins_arch.sh @@ -29,5 +29,6 @@ case "$arch" in *) set +x echo "Unexpected architecture '$arch'" + exit 1 ;; esac -- cgit v1.2.3