From 2295fabcc53e51137766b3b0490d17323be6ae44 Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 4 May 2023 13:11:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20task=20=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E7=9B=AE=E5=BD=95=E5=88=A4=E6=96=AD?= 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 de51cb7a..307e8ad9 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -66,7 +66,7 @@ handle_log_path() { log_dir="${log_dir_tmp%.*}${suffix}" log_path="$log_dir/$log_time.log" - if [[ $real_log_path != "${log_path}" ]]; then + if [[ $real_log_path ]]; then log_path="$real_log_path" fi