Write more output to screen on script completion

This commit is contained in:
Paul Reeves 2023-02-03 11:44:19 +01:00
parent 1ad24d3f71
commit a538f02d72

View File

@ -479,10 +479,10 @@ if [ $_err_count -eq 0 ]; then
echo
echo Here are the last lines from $ALIAS.txt
echo
tail -n 30 $ALIAS.txt
tail -n 40 $ALIAS.txt
else
echo Script failed with the following errors:
cat $ALIAS.txt | grep -B 3 -A 4 "Statement failed"
cat $ALIAS.txt | grep -B 5 -A 4 "Statement failed"
fi
echo
echo