@@ -12,7 +12,7 @@ if [ ! -d "$dir" ]; then
exit 1
fi
-while [ $count -lt 10 ]
+while [ $count -lt 20 ]
do
if [ -z "$3" ]; then
file=$(ls -t "$dir" | grep "error" | head -n $((count + 1)) | tail -n 1)