V6.6.5-3 修复脚本语法错误
This commit is contained in:
parent
1c2c892132
commit
2447884536
|
@ -157,7 +157,7 @@ function LOGGER() {
|
||||||
if [[ ! $* =~ (--help|--log) ]];then
|
if [[ ! $* =~ (--help|--log) ]];then
|
||||||
[[ ! -d ${Log_Path} ]] && mkdir -p ${Log_Path}
|
[[ ! -d ${Log_Path} ]] && mkdir -p ${Log_Path}
|
||||||
[[ ! -f ${Log_Path}/AutoUpdate.log ]] && touch ${Log_Path}/AutoUpdate.log
|
[[ ! -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
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue