From 1b230192ed6d81b157e618ff643b783b12f954fa Mon Sep 17 00:00:00 2001 From: Dexter Date: Sat, 17 Jun 2023 01:46:22 +0800 Subject: [PATCH] fix check and removing logs --- get-all-logs.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/get-all-logs.sh b/get-all-logs.sh index e4e044a..3375807 100644 --- a/get-all-logs.sh +++ b/get-all-logs.sh @@ -44,7 +44,7 @@ _remove_logs (){ files=($(find . -maxdepth 1 -mtime +3 -iname "*logs*" -o -mtime +3 -iname "*vm_lic*" -o -mtime +3 -iname "*vm_node*" -o -mtime +3 -iname "*short-logs*" ! -iname "get*log*.sh")); if [[ ${#files[@]} >0 ]];then - echo "founded platform logs older than last 3 days"; + echo "\n************* Founded platform logs older than last 3 days **********************\n"; for item in ${files[*]} do # printf " %s\n" $item