修复 mac 任务无法正常退出

This commit is contained in:
whyour 2023-10-16 23:44:39 +08:00
parent 533e12a796
commit 43c0cd8132

View File

@ -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