From 9f7bfeff8f83884fdaa61bbd9ce1a6301cb26eda Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 21 Mar 2024 14:36:03 +0800 Subject: [PATCH] Optimizing scripts --- scripts/lib/logging.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/scripts/lib/logging.sh b/scripts/lib/logging.sh index c18fc4e42..284138a91 100755 --- a/scripts/lib/logging.sh +++ b/scripts/lib/logging.sh @@ -211,8 +211,7 @@ openim::log::status() { return fi timestamp=$(date +"[%Y-%m-%d %H:%M:%S %Z]") - echo_log "${timestamp} ${1}" - echo_log -e "${COLOR_BLUE} ${1} ==> ${COLOR_BLUE}$@${reset_color}" + echo_log -e "${COLOR_BLUE} ${timestamp} ${1} ==> ${COLOR_BLUE}$@${reset_color}" }