Skip to content

Commit

Permalink
Update webstandard.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
vmcj authored Jun 19, 2024
1 parent b0c28f2 commit 1a4ebef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/jobs/webstandard.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ if [ "$ROLE" = "public" ]; then
EXPECTED_HTTP_CODES="$EXPECTED_HTTP_CODES\|401"
fi
set +e
NUM_ERRORS=$(grep -v "HTTP/1.1\" \($EXPECTED_HTTP_CODES\)" /var/log/nginx/domjudge.log | grep -v "robots.txt" -c; if [ "$?" -gt 1]; then exit 127; fi)
NUM_ERRORS=$(grep -v "HTTP/1.1\" \($EXPECTED_HTTP_CODES\)" /var/log/nginx/domjudge.log | grep -v "robots.txt" -c; if [ "$?" -gt 1 ]; then exit 127; fi)
set -e
echo "$NUM_ERRORS"
Expand Down

0 comments on commit 1a4ebef

Please sign in to comment.