[CI] Fix shell script exit codes (#3329)
authorMarcus Shawcroft <marcus.shawcroft@arm.com>
Mon, 10 Jun 2019 18:01:58 +0000 (19:01 +0100)
committerTianqi Chen <tqchen@users.noreply.github.com>
Mon, 10 Jun 2019 18:01:58 +0000 (11:01 -0700)
commitce90f0d0eec8fc02e98a63968a796f1598351001
tree8a9fdcf692df2688e9dc41833cac234b9b0f67d9
parent474b56834ece83b3b7f999305c443999a5a130f4
[CI] Fix shell script exit codes (#3329)

The exist code of a posix compilant shell is 0..255.  Attempting to
return -1 will error in some shells and implicitly cast to 255 in
others.  Fix it by returning a legal return value.
tests/scripts/task_lint.sh