From 43c0cd8132822f577c3f4e31132598d88f525129 Mon Sep 17 00:00:00 2001 From: whyour Date: Mon, 16 Oct 2023 23:44:39 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20mac=20=E4=BB=BB=E5=8A=A1?= =?UTF-8?q?=E6=97=A0=E6=B3=95=E6=AD=A3=E5=B8=B8=E9=80=80=E5=87=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/shell/task.sh b/shell/task.sh index 5c39d163..1acd1a66 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -139,6 +139,7 @@ handle_log_path "${task_shell_params[@]}" init_begin_time eval . $dir_shell/otask.sh "$cmd" -[[ -f "$dir_log/$log_path" ]] && [[ ! $show_log ]] && [[ "$real_time" != "true" ]] && cat "$dir_log/$log_path" +# mac cat 无法正常退出 +# [[ -f "$dir_log/$log_path" ]] && [[ ! $show_log ]] && [[ "$real_time" != "true" ]] && cat "$dir_log/$log_path" exit 0