fix(RESTORE): increment errorCount on SQL import error

This commit is contained in:
Asif Bacchus 2021-02-08 10:39:35 -07:00
parent 7b3ff7f6ae
commit 59cc9a5d66

View File

@ -342,6 +342,7 @@ if [ "$restoreSQL" -eq 1 ]; then
else
writeLog 'done' 'error'
writeLog 'error' '13' "Something went wrong while trying to restore SQL database. Perhaps try again?"
errorCount=$((errorCount+1))
fi
fi
fi