Explorar el Código

更新 'log.sh'

killua hace 1 año
padre
commit
bcf5c111c4
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      log.sh

+ 1 - 1
log.sh

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