From a1be9abd339013fbef267e72c2616d1272729c46 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 18:24:59 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/bricks.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/scripts-new/bricks.sh b/scripts-new/bricks.sh index f6d4f9709..c8d4f515b 100644 --- a/scripts-new/bricks.sh +++ b/scripts-new/bricks.sh @@ -38,9 +38,7 @@ start_tools() { local bin_full_path=$(get_tool_full_path "$binary") cmd=("$bin_full_path" -c "$OPENIM_OUTPUT_CONFIG") echo "Starting ${cmd[@]}" - #"${cmd[@]}" - "${cmd[@]}" >> "${LOG_FILE}" 2> >(tee -a "$ERR_LOG_FILE" | while read line; do echo -e "\e[31m${line}\e[0m"; done >&2) & - + "${cmd[@]}" ret_val=$? if [ $ret_val -eq 0 ]; then echo "Started $bin_full_path successfully."