From eae2d6d17a73f9450a51096b93d0194c0d4b429d Mon Sep 17 00:00:00 2001 From: whyour Date: Tue, 5 Apr 2022 00:28:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=97=A5=E5=BF=97=E7=9B=AE?= =?UTF-8?q?=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 9946a4e0..2ede061d 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -366,7 +366,7 @@ main() { esac ;; esac - [[ -f $log_path ]] && cat "$dir_log/$log_path" + [[ -f "$dir_log/$log_path" ]] && cat "$dir_log/$log_path" elif [[ $# -eq 0 ]]; then echo usage