doc: filter error exit status incorrect

When the doc log is scanned for potential "new" errors, if any are found
it wasn't returning a non-zero error code.

Tracked-on: #1514

Signed-off-by: David B. Kinder <david.b.kinder@intel.com>
This commit is contained in:
David B. Kinder 2018-10-18 15:28:36 -07:00 committed by David Kinder
parent d764edbf83
commit 6dffef12d9
1 changed files with 1 additions and 0 deletions

View File

@ -38,6 +38,7 @@ if [ -s "${LOG_FILE}" ]; then
echo
cat doc.warnings
echo
exit 1
else
echo -e "${green}No new errors/warnings."
$TPUT sgr0