Add trailing :: sequence

Co-authored-by: Max Leske <250711+theseion@users.noreply.github.com>
This commit is contained in:
Ervin Hegedus 2024-08-19 16:47:09 +02:00 committed by GitHub
parent 4edeca70e4
commit d996f04e3a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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 "::error Found errors/warnings in error.log"
echo "::error::Found errors/warnings in error.log"
echo "${errors}"
exit 1
- name: Show httpd error log