X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=blobdiff_plain;f=shell%2Fjjb-verify-build-nodes.sh;fp=shell%2Fjjb-verify-build-nodes.sh;h=93d85be8142ee5a8a59a048110160212c7781d6f;hb=40d61a6fd4fdc64240fc298e039d9f88215e5e40;hp=b4457e4258b41f5e1ad93c71e9529823b301e447;hpb=f1965ead65dbec24eafddcd6e59c793406a4c099;p=releng%2Fglobal-jjb.git diff --git a/shell/jjb-verify-build-nodes.sh b/shell/jjb-verify-build-nodes.sh index b4457e42..93d85be8 100644 --- a/shell/jjb-verify-build-nodes.sh +++ b/shell/jjb-verify-build-nodes.sh @@ -44,7 +44,9 @@ isBadLabel () { isValueInArray () { local e match="$1" shift - for e; do [[ "$e" == "$match" ]] && return 0; done + for e; do + [[ "$e" == "$match" ]] && return 0 + done return 1 }