Bug fix: counting of ERRORs.

This commit is contained in:
Achim D. Brucker 2017-10-10 23:07:48 +01:00
parent 518372c6f2
commit c910e68575
1 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,8 @@ date +'* Start Updating Extensions Archive (%c)' | tee $LOG
date +'* Update Finished (%c)' | tee -a $LOG
ERRORS=`$LOGPREFIX.log | sort -k 5,5 -u | wc -l`
ERRORS=`grep $LOGPREFIX.log | sort -k 5,5 -u | wc -l`
EXTENSIONS=`grep "Updating db" $LOGPREFIX.log | wc -l`
echo "ERROR LOG: $ERRORS (out of $EXTENSIONS)"
echo "=========="