mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Only point log error instead of tail it, it creates confusion
This commit is contained in:
parent
80c76b0c86
commit
5fa6aecca4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user