diff options
author | Kitzunu <24550914+Kitzunu@users.noreply.github.com> | 2023-08-22 12:08:53 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-22 12:08:53 +0200 |
commit | 12456b54961e145c164de9adabe3ef3674ddf080 (patch) | |
tree | 395cf7b18fe15b8f04fdf8f316c38d18d133f7ee /apps | |
parent | f24fb955754a72a70169cda2ae03a80c3a428ef0 (diff) |
refactor(Misc/Conf): DBErrors is now Errors (#17053)
* refactor(Misc/Conf): DBErrors is now StartupErrors
* pt2
* Update ci-error-check.sh
* Update ci-error-check.sh
Diffstat (limited to 'apps')
-rwxr-xr-x | apps/ci/ci-error-check.sh | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/apps/ci/ci-error-check.sh b/apps/ci/ci-error-check.sh index d446e904be..1862fa7122 100755 --- a/apps/ci/ci-error-check.sh +++ b/apps/ci/ci-error-check.sh @@ -1,17 +1,18 @@ #!/usr/bin/env bash -DB_ERRORS_FILE="./env/dist/bin/DBErrors.log"; +ERRORS_FILE="./env/dist/bin/Errors.log"; -if [[ ! -f ${DB_ERRORS_FILE} ]]; then - echo "File ${DB_ERRORS_FILE} not found!"; - exit 1 -fi +echo "Checking Startup Errors" +echo -if [[ -s ${DB_ERRORS_FILE} ]]; then - printf "The DBErrors.log file contains startup errors:\n\n"; - cat ${DB_ERRORS_FILE}; +if [[ -s ${ERRORS_FILE} ]]; then + printf "The Errors.log file contains startup errors:\n\n"; + cat ${ERRORS_FILE}; printf "\nPlease solve the startup errors listed above!\n"; exit 1; else - echo "No startup errors found in DBErrors.log, good job!"; + echo "> No startup errors found in Errors.log"; fi + +echo +echo "Done" |