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
This commit is contained in:
Harald Welte 2018-06-28 08:28:27 +02:00
parent cae93e51d9
commit 79d49af93a
1 changed files with 1 additions and 0 deletions

View File

@ -29,5 +29,6 @@ case "$arch" in
*)
set +x
echo "Unexpected architecture '$arch'"
exit 1
;;
esac