Skip to content

Commit 227ace0

Browse files
authored
Merge pull request libgit2#4764 from tiennou/ci/coverity-only
ci: Correct the status code check so Coverity doesn't force-fail Travis
2 parents 9913e2d + 351ca66 commit 227ace0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci/coverity.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ STATUS_CODE="$(echo "$HTML" | tail -n1)"
5959

6060
echo "${BODY}"
6161

62-
if [ "${STATUS_CODE}" != "200" -o "${STATUS_CODE}" != "201" ]; then
62+
if [ "${STATUS_CODE}" != "200" -a "${STATUS_CODE}" != "201" ]; then
6363
echo "Received error code ${STATUS_CODE} from Coverity"
6464
exit 1
6565
fi

0 commit comments

Comments
 (0)