From 4272b9ea353367838015372dd139ea7aa02dd28b Mon Sep 17 00:00:00 2001 From: whyour Date: Wed, 2 Nov 2022 19:40:16 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8Dtask=E5=91=BD=E4=BB=A4?= =?UTF-8?q?=E5=8F=82=E6=95=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/task.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/task.sh b/shell/task.sh index 0d3c31f1..2d287a61 100755 --- a/shell/task.sh +++ b/shell/task.sh @@ -72,8 +72,8 @@ done [[ "$show_log" == "true" ]] && shift $(($OPTIND - 1)) format_params "$@" -define_program "$params" -handle_log_path "$params" +define_program "$@" +handle_log_path "$@" eval . $dir_shell/otask.sh "$params" "$cmd" [[ -f "$dir_log/$log_path" ]] && cat "$dir_log/$log_path"