19 lines
379 B
Bash
19 lines
379 B
Bash
#!/usr/bin/env bash
|
|
|
|
ERRORS_FILE="./env/dist/bin/Errors.log";
|
|
|
|
echo "Checking Startup Errors"
|
|
echo
|
|
|
|
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 Errors.log";
|
|
fi
|
|
|
|
echo
|
|
echo "Done"
|