From 21a6fa2a3eb3db5a3a8d6ea65ef9fe43ba510148 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 18:35:48 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/start.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts-new/start.sh b/scripts-new/start.sh index e4566f1bd..774aed195 100644 --- a/scripts-new/start.sh +++ b/scripts-new/start.sh @@ -21,7 +21,7 @@ if [ $ret_val -ne 0 ]; then fi openim::log::print_green "All tools executed successfully, details are as follows:" -openim::log::print_green_no_time_stamp "$result" +echo "$result" kill_exist_binaries @@ -29,8 +29,8 @@ result=$(check_binaries_stop) ret_val=$? if [ $ret_val -ne 0 ]; then - echo "$result" - echo "Some services running, abort start" + openim::log::print_red "Some services running, details are as follows, abort start" + openim::log::print_red_no_time_stamp "$result" exit 1 fi