From 598c6b4e57c09cb58effca4e9f6251a45cb19a0d Mon Sep 17 00:00:00 2001 From: whyour Date: Thu, 4 May 2023 15:17:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20task=20=E6=89=93=E5=8D=B0?= =?UTF-8?q?=E6=97=A5=E5=BF=97=E9=80=BB=E8=BE=91?= 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 307e8ad9..24339810 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -124,6 +124,6 @@ handle_log_path "$@" init_begin_time eval . $dir_shell/otask.sh "$cmd" -[[ -f "$dir_log/$log_path" ]] && [[ ! $show_log ]] && cat "$dir_log/$log_path" +[[ -f "$dir_log/$log_path" ]] && [[ ! $show_log ]] && [[ "$real_time" != "true" ]] && cat "$dir_log/$log_path" exit 0