mirror of
https://github.com/xopenwrt/X-OpenWrt-New.git
synced 2026-09-18 08:20:11 +00:00
V6.6.5-3 修复脚本语法错误
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user