mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Added "::error" in error message
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -54,7 +54,7 @@ jobs:
|
||||
# '|| :' handles the case grep doesn't match, otherwise the script exits with 1 (error)
|
||||
errors=$(grep -E ':(?error|warn)[]]' /var/log/apache2/error.log) || :
|
||||
if [[ -z "${errors}" ]]; then exit 0; fi
|
||||
echo "Found errors/warnings in error.log"
|
||||
echo "::error Found errors/warnings in error.log"
|
||||
echo "${errors}"
|
||||
exit 1
|
||||
- name: Show httpd error log
|
||||
|
Reference in New Issue
Block a user