diff --git a/shell/update.sh b/shell/update.sh index 208eec6b..65425012 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -492,6 +492,7 @@ main() { local end_time=$(date '+%Y-%m-%d %H:%M:%S') local diff_time=$(($(date +%s -d "$end_time") - $(date +%s -d "$begin_time"))) echo -e "\n## 执行结束... $end_time 耗时 $diff_time 秒" >> $log_path + cat $log_path } main "$@"