From 6f0ee32d9ccd9daa48c763fbd23810019bc45c61 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 16:30:45 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/bricks.sh | 2 +- scripts-new/start.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts-new/bricks.sh b/scripts-new/bricks.sh index cf1e992b4..4639128e4 100644 --- a/scripts-new/bricks.sh +++ b/scripts-new/bricks.sh @@ -25,7 +25,7 @@ start_binaries() { local bin_full_path=$(get_bin_full_path "$binary") # Loop to start binary the specified number of times for ((i=0; i> "${LOG_FILE}" 2> >(tee -a "$ERR_LOG_FILE" | while read line; do echo -e "\e[31m${line}\e[0m"; done >&2) & done diff --git a/scripts-new/start.sh b/scripts-new/start.sh index 0e9dd3876..0ded7320c 100644 --- a/scripts-new/start.sh +++ b/scripts-new/start.sh @@ -27,7 +27,7 @@ fi # Call the main function result=$(start_binaries) -echo $result +openim::log::print_blue $result $OPENIM_SCRIPTS/check.sh