V6.6.5-3 修复脚本语法错误

This commit is contained in:
Hyy2001X 2021-10-08 00:21:09 +08:00
parent 1c2c892132
commit 2447884536
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ function LOGGER() {
if [[ ! $* =~ (--help|--log) ]];then
[[ ! -d ${Log_Path} ]] && mkdir -p ${Log_Path}
[[ ! -f ${Log_Path}/AutoUpdate.log ]] && touch ${Log_Path}/AutoUpdate.log
echo "[$(date "%H:%M:%S")] [$$] $*" >> ${Log_Path}/AutoUpdate.log
echo "[$(date "+%H:%M:%S")] [$$] $*" >> ${Log_Path}/AutoUpdate.log
fi
}