修复task命令参数

This commit is contained in:
whyour 2022-11-02 19:40:16 +08:00
parent 3c5c5b0bbc
commit 4272b9ea35

View File

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