From 591a5006daf188f6769cf1b1bb29f19bb7235330 Mon Sep 17 00:00:00 2001 From: whyour Date: Sun, 11 Sep 2022 19:53:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=90=E8=A1=8C=E4=BB=BB?= =?UTF-8?q?=E5=8A=A1shell?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/task.sh b/shell/task.sh index c9cc44be..963e35d6 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -98,7 +98,7 @@ handle_log_path() { if [[ ! -z $ID ]]; then suffix="_${ID}" fi - local time=$(date "+$time_format") + time=$(date "+$time_format") log_time=$(format_log_time "$time_format" "$time") log_dir_tmp="${file_param##*/}" if [[ $file_param =~ "/" ]]; then