diff --git a/Scripts/AutoUpdate.sh b/Scripts/AutoUpdate.sh index 5d1b33c..86e090b 100755 --- a/Scripts/AutoUpdate.sh +++ b/Scripts/AutoUpdate.sh @@ -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 }