mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
修复 mac 任务无法正常退出
This commit is contained in:
parent
533e12a796
commit
43c0cd8132
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user