mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-29 19:24:29 +03:00
Fixed quotes
This commit is contained in:
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
@@ -51,7 +51,7 @@ jobs:
|
|||||||
run: sudo systemctl restart apache2.service
|
run: sudo systemctl restart apache2.service
|
||||||
- name: Search for errors/warnings in error log
|
- name: Search for errors/warnings in error log
|
||||||
run: |
|
run: |
|
||||||
errors="$(grep -E ":(?error|warn)[]]" /var/log/apache2/error.log)"
|
errors=$(grep -E ':(?error|warn)[]]' /var/log/apache2/error.log)
|
||||||
if [ -n "${errors}" ]; then
|
if [ -n "${errors}" ]; then
|
||||||
echo "Found errors/warnings in error.log"
|
echo "Found errors/warnings in error.log"
|
||||||
echo "${errors}"
|
echo "${errors}"
|
||||||
|
Reference in New Issue
Block a user