From 0bc93fcba1d8fb4b9263f5855643e04561c21784 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Thu, 22 Feb 2024 21:50:40 +0800 Subject: [PATCH] log --- scripts/lib/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/lib/util.sh b/scripts/lib/util.sh index d6c540604..14f671aa0 100755 --- a/scripts/lib/util.sh +++ b/scripts/lib/util.sh @@ -344,7 +344,7 @@ openim::util::check_ports() { # Print information about ports whose processes are not running. if [[ ${#not_started[@]} -ne 0 ]]; then - echo "\n### Not started ports:" + echo "### Not started ports:" for port in "${not_started[@]}"; do openim::log::error "Port $port is not started." done @@ -352,7 +352,7 @@ openim::util::check_ports() { # Print information about ports whose processes are running. if [[ ${#started[@]} -ne 0 ]]; then - echo "\n### Started ports:" + echo "### Started ports:" for info in "${started[@]}"; do echo "$info" done