From 1a6e850671a45e00c1897832c9c3d32b3c1e9d97 Mon Sep 17 00:00:00 2001 From: skiffer-git <44203734@qq.com> Date: Tue, 2 Apr 2024 17:07:21 +0800 Subject: [PATCH] Script Refactoring --- scripts-new/lib/util.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts-new/lib/util.sh b/scripts-new/lib/util.sh index e725673d0..c0d28abca 100644 --- a/scripts-new/lib/util.sh +++ b/scripts-new/lib/util.sh @@ -2477,9 +2477,9 @@ function openim::util::print_binary_ports() { ports=$(echo "$ports" | xargs | tr ' ' '\n' | uniq | tr '\n' ' ') if [ -z "$ports" ]; then - echo "$binary_path is not listening on any ports." + echo "$binary_path is not listening on any ports." ["$ports"] else - echo "$binary_path is listening on the following ports: $ports" + echo "$binary_path is listening on the following ports: $ports" ["$ports"] fi else echo "$binary_path is not running."