Only point log error instead of tail it, it creates confusion

This commit is contained in:
Renato Botelho 2016-08-01 17:38:48 -03:00
parent 80c76b0c86
commit 5fa6aecca4

View File

@ -105,12 +105,8 @@ print_error_pfS() {
echo
echo "NOTE: a lot of times you can run './build.sh --clean-builder' to resolve."
echo
if [ "$1" != "" ]; then
echo $1
fi
[ -n "${LOGFILE}" -a -f "${LOGFILE}" ] && \
echo "Log saved on ${LOGFILE}" && \
tail -n20 ${LOGFILE} >&2
echo
kill $$
exit 1