From 2956462a46683216acedcfe2aa02c7acb67149ea Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 21 Mar 2024 12:17:29 +0800 Subject: [PATCH] Optimizing scripts --- scripts/lib/logging.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/logging.sh b/scripts/lib/logging.sh index ccba11c13..239bda40f 100755 --- a/scripts/lib/logging.sh +++ b/scripts/lib/logging.sh @@ -218,7 +218,7 @@ openim::log::status() { echo_log -e "${COLOR_GREEN} ${message} ==> ${COLOR_GREEN}$@${reset_color}" done } -COLOR_BLUE + openim::log::success() { local V="${V:-0}" @@ -227,7 +227,7 @@ openim::log::success() { fi local timestamp=$(date +"%m%d %H:%M:%S") local reset_color='\033[0m' - echo_log -e "${COLOR_GREEN}[success ${timestamp}]${COLOR_SUFFIX}==> ${COLOR_GREEN}$@${reset_color}" + echo_log -e "${COLOR_BLUE}[success ${timestamp}]${COLOR_SUFFIX}==> ${COLOR_BLUE}$@${reset_color}" }