修复 task 打印日志逻辑

This commit is contained in:
whyour 2023-05-04 15:17:38 +08:00
parent 2295fabcc5
commit 598c6b4e57

View File

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